Commit ff4f44de authored by Wei Yongjun's avatar Wei Yongjun Committed by Herbert Xu

crypto: ccp - Fix non static symbol warning

Fixes the following sparse warning:

drivers/crypto/ccp/ccp-dev.c:44:6: warning:
 symbol 'ccp_error_codes' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarGary R Hook <gary.hook@amd.com>
Acked-by: default avatarGary R Hook <gary.hook@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4e518816
...@@ -41,7 +41,7 @@ struct ccp_tasklet_data { ...@@ -41,7 +41,7 @@ struct ccp_tasklet_data {
}; };
/* Human-readable error strings */ /* Human-readable error strings */
char *ccp_error_codes[] = { static char *ccp_error_codes[] = {
"", "",
"ERR 01: ILLEGAL_ENGINE", "ERR 01: ILLEGAL_ENGINE",
"ERR 02: ILLEGAL_KEY_ID", "ERR 02: ILLEGAL_KEY_ID",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment