crypto: hisilicon - fix param should be static when not external.
authorShukun Tan <tanshukun1@huawei.com>
Mon, 21 Oct 2019 07:41:02 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Oct 2019 15:09:59 +0000 (02:09 +1100)
commit719181f39a1045674b04256f54492f7fd97deddb
treed3be2451d23a90f919b9589dd794eef0034780b9
parente10966981f7258dd7283f3028f414dd127bb5bfc
crypto: hisilicon - fix param should be static when not external.

This patch fixes following sparse warning:
zip_main.c:87:1: warning: symbol 'hisi_zip_list' was not declared.
Should it be static?
zip_main.c:88:1: warning: symbol 'hisi_zip_list_lock' was not declared.
Should it be static?
zip_main.c:948:68: warning: Using plain integer as NULL pointer

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_main.c