Re: [PATCH -next] crypto: mxs-dcp: make symbols 'sha1_null_hash' and 'sha256_null_hash' static

2018-10-12 Thread Herbert Xu
On Thu, Oct 11, 2018 at 01:49:48AM +, Wei Yongjun wrote: > 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

[PATCH -next] crypto: mxs-dcp: make symbols 'sha1_null_hash' and 'sha256_null_hash' static

2018-10-10 Thread Wei Yongjun
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