Skip to content
Commit 8c1f4546 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

netxen: netxen_rom_fast_read() doesn't return -1



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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c755ffa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment