Home
last modified time | relevance | path

Searched hist:b233089787601d63e44d8d3ddb7d2731ef53cf4e (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/net/
H A Dzynq_gem.cb233089787601d63e44d8d3ddb7d2731ef53cf4e Mon Apr 03 14:18:53 UTC 2017 Olliver Schinagl <oliver@schinagl.nl> 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 <oliver@schinagl.nl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>