projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c814d
)
common: avb_verify: Make local data static
author
Eugeniu Rosca
<roscaeugeniu@gmail.com>
Tue, 14 Aug 2018 00:43:06 +0000
(
02:43
+0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 24 Aug 2018 17:19:53 +0000
(13:19 -0400)
Fix sparse complaint:
common/avb_verify.c:14:21: warning: \
symbol 'avb_root_pub' was not declared. Should it be static?
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
common/avb_verify.c
patch
|
blob
|
history
diff --git
a/common/avb_verify.c
b/common/avb_verify.c
index 52b91a825a75ee063a143c9c8add14a6459cd6de..55632500db264405a468331a475447247fe28174 100644
(file)
--- a/
common/avb_verify.c
+++ b/
common/avb_verify.c
@@
-11,7
+11,7
@@
#include <malloc.h>
#include <part.h>
-const unsigned char avb_root_pub[1032] = {
+
static
const unsigned char avb_root_pub[1032] = {
0x0, 0x0, 0x10, 0x0, 0x55, 0xd9, 0x4, 0xad, 0xd8, 0x4,
0xaf, 0xe3, 0xd3, 0x84, 0x6c, 0x7e, 0xd, 0x89, 0x3d, 0xc2,
0x8c, 0xd3, 0x12, 0x55, 0xe9, 0x62, 0xc9, 0xf1, 0xf, 0x5e,