projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c56b4d9
)
be2net: Fix be_dev_family_check() return value check
author
Sathya Perla
<sathya.perla@emulex.com>
Wed, 1 Dec 2010 01:02:28 +0000
(
01:02
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 6 Dec 2010 20:59:07 +0000
(12:59 -0800)
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 275428032ce269dc92f209ed517f5c3c071bc03e..ea8cf690a072b0494dd72a2d5354f4894f37c9f1 100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-2901,7
+2901,7
@@
static int __devinit be_probe(struct pci_dev *pdev,
pci_set_drvdata(pdev, adapter);
status = be_dev_family_check(adapter);
- if (
!
status)
+ if (status)
goto free_netdev;
adapter->netdev = netdev;