crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 11 Oct 2018 01:49:48 +0000 (01:49 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Oct 2018 06:20:45 +0000 (14:20 +0800)
commitce4e45842de3eb54b8dd6e081765d741f5b92b56
treea4be9a75a5006261d5b249125f60c7818b8da39b
parentcc3cc48972371b3c2e94f16b6ac7bdad7fdfc93c
crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static

Fixes the following sparse warnings:

drivers/crypto/mxs-dcp.c:39:15: warning:
 symbol 'sha1_null_hash' was not declared. Should it be static?
drivers/crypto/mxs-dcp.c:43:15: warning:
 symbol 'sha256_null_hash' was not declared. Should it be static?

Fixes: c709eebaf5c5 ("crypto: mxs-dcp - Fix SHA null hashes and output length")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mxs-dcp.c