OSDN Git Service
(root)
/
android-x86
/
kernel.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
2754280
..
ea8cf69
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;