projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b2e5e
)
lib: rsa: cosmetic: fix building warning
author
Haijun Qin
<qinhaijun@eswincomputing.com>
Tue, 6 Dec 2022 07:41:37 +0000
(15:41 +0800)
committer
Tom Rini
<trini@konsulko.com>
Wed, 11 Jan 2023 16:54:50 +0000
(11:54 -0500)
add initialization of variable 'node',this can aviod the building
warning:
'node' may be used uninitialized [-Wmaybe-uninitialized]
Signed-off-by: Haijun Qin <qinhaijun@eswincomputing.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-sign.c
patch
|
blob
|
history
diff --git
a/lib/rsa/rsa-sign.c
b/lib/rsa/rsa-sign.c
index b2a21199e485b2d47b396422c85531f7e00d11c9..d20bdb58a57fb447ff786be4463eb86b0dfa1a38 100644
(file)
--- a/
lib/rsa/rsa-sign.c
+++ b/
lib/rsa/rsa-sign.c
@@
-608,7
+608,7
@@
int rsa_add_verify_data(struct image_sign_info *info, void *keydest)
BIGNUM *modulus, *r_squared;
uint64_t exponent;
uint32_t n0_inv;
- int parent, node;
+ int parent, node
= -FDT_ERR_NOTFOUND
;
char name[100];
int ret;
int bits;