summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-03-09 16:58:20 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-10 01:56:11 -0800
commit01c3a3920f9f78866420b2004602944fca45083a (patch)
treed7b8a9106ee61835510b09ce66b3e705df7df487 /include/linux/pci.h
parentbb18bb942a31411954021ad036ca7bace642c3c0 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud