diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-27 00:43:13 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-05-03 14:03:30 +0800 |
commit | 181a9096717b8d2128eb1162d07a4f4ee0f9f4b8 (patch) | |
tree | 68a7311afbb49edd50a2f4edb0eb587551cbb5c8 /drivers/crypto | |
parent | 22e2db68e809eebe5e44315c5f8184da22ec2822 (diff) | |
download | blackbird-op-linux-181a9096717b8d2128eb1162d07a4f4ee0f9f4b8.tar.gz blackbird-op-linux-181a9096717b8d2128eb1162d07a4f4ee0f9f4b8.zip |
crypto: ccree - Make cc_sec_disable static
Fix sparse warning:
drivers/crypto/ccree/cc_driver.c:37:6: warning:
symbol 'cc_sec_disable' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/ccree/cc_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c index 902f196d4be1..4ea8e19d2fdf 100644 --- a/drivers/crypto/ccree/cc_driver.c +++ b/drivers/crypto/ccree/cc_driver.c @@ -34,7 +34,7 @@ bool cc_dump_bytes; module_param_named(dump_bytes, cc_dump_bytes, bool, 0600); MODULE_PARM_DESC(cc_dump_bytes, "Dump buffers to kernel log as debugging aid"); -bool cc_sec_disable; +static bool cc_sec_disable; module_param_named(sec_disable, cc_sec_disable, bool, 0600); MODULE_PARM_DESC(cc_sec_disable, "Disable security functions"); |