aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r--drivers/net/sungem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c
index 467d80dc3b33..97212799c513 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/sungem.c
@@ -3056,7 +3056,7 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
3056 netif_carrier_off(dev); 3056 netif_carrier_off(dev);
3057 3057
3058 gp->regs = ioremap(gemreg_base, gemreg_len); 3058 gp->regs = ioremap(gemreg_base, gemreg_len);
3059 if (gp->regs == 0UL) { 3059 if (!gp->regs) {
3060 printk(KERN_ERR PFX "Cannot map device registers, " 3060 printk(KERN_ERR PFX "Cannot map device registers, "
3061 "aborting.\n"); 3061 "aborting.\n");
3062 err = -EIO; 3062 err = -EIO;