summaryrefslogtreecommitdiff
path: root/drivers/atm/ambassador.c
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2014-02-19 10:35:41 +0900
committerDavid S. Miller <davem@davemloft.net>2014-02-19 16:39:10 -0500
commitab85cff4d516ecc8b1630af0589760bfe5b50bd7 (patch)
treec80cac52e49c67d915c1e4030693e3b0bec10853 /drivers/atm/ambassador.c
parentc8e6ad0829a723a74cd2fea9996a3392d2579a18 (diff)
downloadlinux-ab85cff4d516ecc8b1630af0589760bfe5b50bd7.tar.gz
atm: ambassador: use NULL instead of 0 for pointer
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>
Diffstat (limited to 'drivers/atm/ambassador.c')
-rw-r--r--drivers/atm/ambassador.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c
index 62a76076b548..f1a9198dfe5a 100644
--- a/drivers/atm/ambassador.c
+++ b/drivers/atm/ambassador.c
@@ -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);