Skip to contentSkip to conversation

fix for sparse warning

PATCH New Harinath Nampally 1 participant 1 message Aug 14, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix for sparse warning

To fix the below warning added static qualifier
"warning: symbol 'verify_sha256_digest' was not
declared"

---
 arch/x86/purgatory/purgatory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/purgatory/purgatory.c +1 -1
index 25e068b..c58a31f 100644
@@ -39,7 +39,7 @@ static int copy_backup_region(void)
 	return 0;
 }
 
-int verify_sha256_digest(void)
+static int verify_sha256_digest(void)
 {
 	struct sha_region *ptr, *end;
 	u8 digest[SHA256_DIGEST_SIZE];
Signature · 1 line
2.7.4