Files
linux/drivers
David Sterba 824f5f38d3 tg3: fix return value check in tg3_read_vpd()
Besides -ETIMEDOUT and -EINTR, pci_read_vpd may return other error
values like -ENODEV or -EINVAL which are ignored due to the buggy
check, but the data are not read from VPD anyway and this is checked
subsequently with at most 3 needless loop iterations. This does not
show up as a runtime bug.

CC: Matt Carlson <mcarlson@broadcom.com>
CC: Michael Chan <mchan@broadcom.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-31 12:31:01 -08:00
..
…
…
2010-12-10 12:27:49 -08:00
…
…
2010-12-08 19:52:54 +01:00
…
…
2010-12-02 01:19:32 -05:00
2010-12-22 19:43:34 -08:00
2010-12-02 14:51:15 -08:00
…
2010-11-16 13:33:23 -08:00
2010-11-22 15:12:04 -05:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
…
…
2010-11-12 07:55:30 -08:00
2010-12-22 19:43:34 -08:00
…
…
…
…
…
…
…
…
…