diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-02-19 05:35:41 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-20 01:39:10 +0400 |
commit | ab85cff4d516ecc8b1630af0589760bfe5b50bd7 (patch) | |
tree | c80cac52e49c67d915c1e4030693e3b0bec10853 /drivers/atm | |
parent | c8e6ad0829a723a74cd2fea9996a3392d2579a18 (diff) | |
download | linux-ab85cff4d516ecc8b1630af0589760bfe5b50bd7.tar.xz |
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')
-rw-r--r-- | drivers/atm/ambassador.c | 2 |
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); |