Merge branch 'for-airlied' of git://people.freedesktop.org/~danvet/drm-intel into...
[deliverable/linux.git] / drivers / net / ethernet / mellanox / mlx4 / main.c
index 0fadac546b00b752b4671a08fef8b40367c74a4a..2f816c6aed72da16bc6afc22c957f0b6c7a5eac0 100644 (file)
@@ -1997,7 +1997,8 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
        }
 
 slave_start:
-       if (mlx4_cmd_init(dev)) {
+       err = mlx4_cmd_init(dev);
+       if (err) {
                mlx4_err(dev, "Failed to init command interface, aborting.\n");
                goto err_sriov;
        }
This page took 0.030081 seconds and 5 git commands to generate.