projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
121244a
)
e1000e: fix error checks
author
Adrian Bunk
<bunk@kernel.org>
Mon, 15 Oct 2007 21:02:21 +0000
(14:02 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 17 Oct 2007 01:10:27 +0000
(21:10 -0400)
Spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000e/ethtool.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e1000e/ethtool.c
b/drivers/net/e1000e/ethtool.c
index b7a7e2ae5e139c6f37bb5021220d943cb0f5573a..ca06c354b53c3ffc80889eacb82ab73ee3e03c7b 100644
(file)
--- a/
drivers/net/e1000e/ethtool.c
+++ b/
drivers/net/e1000e/ethtool.c
@@
-1451,11
+1451,11
@@
static int e1000_loopback_test(struct e1000_adapter *adapter, u64 *data)
}
*data = e1000_setup_desc_rings(adapter);
- if (data)
+ if (
*
data)
goto out;
*data = e1000_setup_loopback_test(adapter);
- if (data)
+ if (
*
data)
goto err_loopback;
*data = e1000_run_loopback_test(adapter);