diff options
| author | Olliver Schinagl <[email protected]> | 2017-04-03 16:18:53 +0200 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2017-06-02 14:44:18 -0500 |
| commit | b233089787601d63e44d8d3ddb7d2731ef53cf4e (patch) | |
| tree | 1d1baa812dca3940a19fc0aafed38bd6bd9e4d3c /scripts/checkstack.pl | |
| parent | 6ec922fae20f791882ee455286b1fefd5372a79a (diff) | |
net: zynq_gem: Do not return -ENOSYS on success
The .read_rom_hwaddr net_ops hook does not check the return value, which
is why it was never caught that we are currently returning 0 if the
read_rom_hwaddr function return -ENOSYS and -ENOSYS otherwise.
In this case we can simplify this by just returning the result of the
function.
Signed-off-by: Olliver Schinagl <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Acked-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
