commit | 8c1f454625743d60763a23c58fa65681d3c98b6f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 05 16:20:20 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat May 07 15:15:32 2016 -0400 |
tree | 98a4a7824818469c17d1a09573c3a63d4f3d4e3a | |
parent | 1c755ffa4fa3e2d4112cadd30142344789ad2fd2 [diff] |
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: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>