diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-03-09 16:58:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 01:56:11 -0800 |
commit | 01c3a3920f9f78866420b2004602944fca45083a (patch) | |
tree | d7b8a9106ee61835510b09ce66b3e705df7df487 /include/linux/pci.h | |
parent | bb18bb942a31411954021ad036ca7bace642c3c0 (diff) | |
download | talos-obmc-linux-01c3a3920f9f78866420b2004602944fca45083a.tar.gz talos-obmc-linux-01c3a3920f9f78866420b2004602944fca45083a.zip |
tg3: Fix NVRAM selftest
The tg3 NVRAM selftest actually fails when validating the checksum of
the legacy NVRAM format. However, the test still reported success
because the last update of the return code was a success from the NVRAM
reads. This patch fixes the code so that the error return code defaults
to a failure status. Then the patch fixes the reason why the checsum
validation failed.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions