diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2010-12-01 01:02:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-06 20:59:07 (GMT) |
commit | 63657b9c319588cd35ed869e19cc6255dbef0d20 (patch) | |
tree | eb7bdfc79b454dd414df161cdc4827c6fa0954ce /drivers | |
parent | c56b4d90123b77e29a91b9b96bb791f929139d8e (diff) | |
download | linux-fsl-qoriq-63657b9c319588cd35ed869e19cc6255dbef0d20.tar.xz |
be2net: Fix be_dev_family_check() return value check
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 2754280..ea8cf69 100644 --- 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; |