linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] crypto: ccree - Make cc_sec_disable static
@ 2019-04-26 16:43 Yue Haibing
  2019-04-28  7:56 ` Gilad Ben-Yossef
  2019-05-03  6:10 ` Herbert Xu
  0 siblings, 2 replies; 5+ messages in thread
From: Yue Haibing @ 2019-04-26 16:43 UTC (permalink / raw)
  To: gilad, herbert; +Cc: linux-kernel, linux-crypto, davem, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

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>
---
 drivers/crypto/ccree/cc_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c
index 902f196..4ea8e19 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");
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] crypto: ccree - Make cc_sec_disable static
  2019-04-26 16:43 [PATCH -next] crypto: ccree - Make cc_sec_disable static Yue Haibing
@ 2019-04-28  7:56 ` Gilad Ben-Yossef
  2019-04-28  8:18   ` YueHaibing
  2019-05-03  4:47   ` Herbert Xu
  2019-05-03  6:10 ` Herbert Xu
  1 sibling, 2 replies; 5+ messages in thread
From: Gilad Ben-Yossef @ 2019-04-28  7:56 UTC (permalink / raw)
  To: Yue Haibing
  Cc: Herbert Xu, Linux kernel mailing list, Linux Crypto Mailing List,
	David Miller

On Fri, Apr 26, 2019 at 7:43 PM Yue Haibing <yuehaibing@huawei.com> wrote:
>
> From: YueHaibing <yuehaibing@huawei.com>
>
> 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>

Thank you!

The kbuit test robot already sent the same fix, which I acked.
It's hard competing with the bots... :-)

Gilad



--
Gilad Ben-Yossef
Chief Coffee Drinker

values of β will give rise to dom!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] crypto: ccree - Make cc_sec_disable static
  2019-04-28  7:56 ` Gilad Ben-Yossef
@ 2019-04-28  8:18   ` YueHaibing
  2019-05-03  4:47   ` Herbert Xu
  1 sibling, 0 replies; 5+ messages in thread
From: YueHaibing @ 2019-04-28  8:18 UTC (permalink / raw)
  To: Gilad Ben-Yossef
  Cc: Herbert Xu, Linux kernel mailing list, Linux Crypto Mailing List,
	David Miller

On 2019/4/28 15:56, Gilad Ben-Yossef wrote:
> On Fri, Apr 26, 2019 at 7:43 PM Yue Haibing <yuehaibing@huawei.com> wrote:
>>
>> From: YueHaibing <yuehaibing@huawei.com>
>>
>> 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>
> 
> Thank you!
> 
> The kbuit test robot already sent the same fix, which I acked.
> It's hard competing with the bots... :-)

Indeed, I did not find a fix before sending this.

> 
> Gilad
> 
> 
> 
> --
> Gilad Ben-Yossef
> Chief Coffee Drinker
> 
> values of β will give rise to dom!
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] crypto: ccree - Make cc_sec_disable static
  2019-04-28  7:56 ` Gilad Ben-Yossef
  2019-04-28  8:18   ` YueHaibing
@ 2019-05-03  4:47   ` Herbert Xu
  1 sibling, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2019-05-03  4:47 UTC (permalink / raw)
  To: Gilad Ben-Yossef
  Cc: Yue Haibing, Linux kernel mailing list,
	Linux Crypto Mailing List, David Miller, kbuild test robot

On Sun, Apr 28, 2019 at 10:56:51AM +0300, Gilad Ben-Yossef wrote:
> On Fri, Apr 26, 2019 at 7:43 PM Yue Haibing <yuehaibing@huawei.com> wrote:
> >
> > From: YueHaibing <yuehaibing@huawei.com>
> >
> > 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>
> 
> Thank you!
> 
> The kbuit test robot already sent the same fix, which I acked.
> It's hard competing with the bots... :-)

For some reason the robot's patch didn't make it into patchwork
so I'm going to take this one instead.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] crypto: ccree - Make cc_sec_disable static
  2019-04-26 16:43 [PATCH -next] crypto: ccree - Make cc_sec_disable static Yue Haibing
  2019-04-28  7:56 ` Gilad Ben-Yossef
@ 2019-05-03  6:10 ` Herbert Xu
  1 sibling, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2019-05-03  6:10 UTC (permalink / raw)
  To: Yue Haibing; +Cc: gilad, linux-kernel, linux-crypto, davem

On Sat, Apr 27, 2019 at 12:43:13AM +0800, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
> 
> 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>
> ---
>  drivers/crypto/ccree/cc_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-03 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-26 16:43 [PATCH -next] crypto: ccree - Make cc_sec_disable static Yue Haibing
2019-04-28  7:56 ` Gilad Ben-Yossef
2019-04-28  8:18   ` YueHaibing
2019-05-03  4:47   ` Herbert Xu
2019-05-03  6:10 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).