]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:31:07 +0000 (16:31 +0200)
commit259ea41f36044fd323a04aeca14ecd7b87797837
treebf4aed5ca4b2666886516f5a116ae1b78ab149f4
parent0d6f9d8f3170c78e4817a0af673b3dc1d5b848ca
crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static

commit ce4e45842de3eb54b8dd6e081765d741f5b92b56 upstream.

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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/mxs-dcp.c