diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-02-19 02:35:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-19 22:39:10 +0100 |
commit | ab85cff4d516ecc8b1630af0589760bfe5b50bd7 (patch) | |
tree | c80cac52e49c67d915c1e4030693e3b0bec10853 /drivers/atm/ambassador.c | |
parent | ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsg (diff) | |
download | linux-ab85cff4d516ecc8b1630af0589760bfe5b50bd7.tar.xz linux-ab85cff4d516ecc8b1630af0589760bfe5b50bd7.zip |
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.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); |