提交 63657b9c 编写于 作者: S Sathya Perla 提交者: David S. Miller

be2net: Fix be_dev_family_check() return value check

Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c56b4d90
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册