Re: [patch] netxen: netxen_rom_fast_read() doesn't return -1

From: David Miller
Date: Sat May 07 2016 - 15:16:47 EST


From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Date: Thu, 5 May 2016 16:20:20 +0300

> The error handling is broken here. netxen_rom_fast_read() returns zero
> on success and -EIO on error. It never returns -1.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied.