On Wednesday, January 08, 2014 at 02:48:56 PM, Wei Yongjun wrote: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > Fixes the following sparse warning: > > drivers/crypto/mxs-dcp.c:103:1: warning: > symbol 'global_mutex' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > --- > drivers/crypto/mxs-dcp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c > index d41917c..a6db7fa 100644 > --- a/drivers/crypto/mxs-dcp.c > +++ b/drivers/crypto/mxs-dcp.c > @@ -100,7 +100,7 @@ struct dcp_sha_req_ctx { > * design of Linux Crypto API. > */ > static struct dcp *global_sdcp; > -DEFINE_MUTEX(global_mutex); > +static DEFINE_MUTEX(global_mutex); > > /* DCP register layout. */ > #define MXS_DCP_CTRL 0x00 Thank you. Acked-by: Marek Vasut <marex@xxxxxxx> Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html