]> err.no Git - linux-2.6/blobdiff - drivers/net/sunhme.c
bonding: Deadlock between bonding_store_bonds and bond_destroy_sysfs.
[linux-2.6] / drivers / net / sunhme.c
index 25ce26a882d18c5b4107a44fb4855e878a58f02c..b4e7f30ea4e8c1d9d186ee91b55c41925136bb9d 100644 (file)
@@ -3060,7 +3060,7 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev,
                goto err_out_clear_quattro;
        }
 
-       if ((hpreg_base = ioremap(hpreg_res, 0x8000)) == 0) {
+       if ((hpreg_base = ioremap(hpreg_res, 0x8000)) == NULL) {
                printk(KERN_ERR "happymeal(PCI): Unable to remap card memory.\n");
                goto err_out_free_res;
        }