]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: hisilicon - Fix using plain integer as NULL pointer
authorShukun Tan <tanshukun1@huawei.com>
Mon, 21 Oct 2019 07:41:01 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:09:59 +0000 (02:09 +1100)
commite10966981f7258dd7283f3028f414dd127bb5bfc
tree5dbce0c4c29aca03c6eba134150a4b3f24f6abe6
parentee1788c61546b04763df608f8333ebd827119a02
crypto: hisilicon - Fix using plain integer as NULL pointer

This patch fix sparse warning:
zip_crypto.c:425:26: warning: Using plain integer as NULL pointer

Replaces assignment of 0 to pointer with NULL assignment.

Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/zip/zip_crypto.c