From: Matt Carlson Date: Wed, 9 Mar 2011 16:58:20 +0000 (+0000) Subject: tg3: Fix NVRAM selftest X-Git-Tag: v2.6.39-rc1~468^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c3a3920f9f78866420b2004602944fca45083a;p=pandora-kernel.git 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 Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed