projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97ea93
)
extract-cert: add static to local data
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 29 Jul 2020 03:18:45 +0000
(12:18 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Tue, 18 Aug 2020 11:16:46 +0000
(20:16 +0900)
Fix the following warning from sparse:
scripts/extract-cert.c:74:5: warning: symbol 'kbuild_verbose' was not declared. Should it be static?
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/extract-cert.c
patch
|
blob
|
history
diff --git
a/scripts/extract-cert.c
b/scripts/extract-cert.c
index
b071bf4
..
3bc48c7
100644
(file)
--- a/
scripts/extract-cert.c
+++ b/
scripts/extract-cert.c
@@
-71,7
+71,7
@@
static void drain_openssl_errors(void)
static const char *key_pass;
static BIO *wb;
static char *cert_dst;
-int kbuild_verbose;
+
static
int kbuild_verbose;
static void write_cert(X509 *x509)
{