atm: ambassador: use NULL instead of 0 for pointer
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 19 Feb 2014 01:35:41 +0000 (10:35 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2014 21:39:10 +0000 (16:39 -0500)
sparse says:

drivers/atm/ambassador.c:1928:24: warning:
 Using plain integer as NULL pointer

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/ambassador.c

index 62a76076b5482a3bacab4a9cf2a5ff2c269efddb..f1a9198dfe5a4966cbe7f433b357005501eb002a 100644 (file)
@@ -1925,7 +1925,7 @@ static int ucode_init(loader_block *lb, amb_dev *dev)
   const struct firmware *fw;
   unsigned long start_address;
   const struct ihex_binrec *rec;
-  const char *errmsg = 0;
+  const char *errmsg = NULL;
   int res;
 
   res = request_ihex_firmware(&fw, "atmsar11.fw", &dev->pci_dev->dev);