aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/nicstar.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-28 17:13:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 20:29:18 -0400
commit8da56309f04d76a474791fd27b33ddd52062bcd6 (patch)
tree1d54c09c90511c7f9696dda388f31fdfae15f779 /drivers/atm/nicstar.c
parent7b8ee84d8926e6c6ec584548d23a12f1410b4db7 (diff)
drivers: atm, char fix integer as NULL pointer warnings
drivers/atm/nicstar.c:418:25: warning: Using plain integer as NULL pointer drivers/char/drm/r128_cce.c:820:25: warning: Using plain integer as NULL pointer drivers/char/tty_io.c:1183:10: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/atm/nicstar.c')
-rw-r--r--drivers/atm/nicstar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
index 38c769f8d2b7..3da804b1627d 100644
--- a/drivers/atm/nicstar.c
+++ b/drivers/atm/nicstar.c
@@ -415,7 +415,7 @@ static int __devinit ns_init_card(int i, struct pci_dev *pcidev)
415 card->pcidev = pcidev; 415 card->pcidev = pcidev;
416 membase = pci_resource_start(pcidev, 1); 416 membase = pci_resource_start(pcidev, 1);
417 card->membase = ioremap(membase, NS_IOREMAP_SIZE); 417 card->membase = ioremap(membase, NS_IOREMAP_SIZE);
418 if (card->membase == 0) 418 if (!card->membase)
419 { 419 {
420 printk("nicstar%d: can't ioremap() membase.\n",i); 420 printk("nicstar%d: can't ioremap() membase.\n",i);
421 error = 3; 421 error = 3;