Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462484 > unrolled thread

[PATCH] fix for sparse warning

Started byHarinath Nampally <harinath922@gmail.com>
First post2016-08-14 23:10 +0200
Last post2016-08-14 23:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] fix for sparse warning Harinath Nampally <harinath922@gmail.com> - 2016-08-14 23:10 +0200

#1462484 — [PATCH] fix for sparse warning

FromHarinath Nampally <harinath922@gmail.com>
Date2016-08-14 23:10 +0200
Subject[PATCH] fix for sparse warning
Message-ID<s6aPn-4WY-1@gated-at.bofh.it>
 To fix the below warning added static qualifier 
 "warning: symbol 'verify_sha256_digest' was not
 declared" 

Signed-off-by: Harinath Nampally <harinath922@gmail.com>
---
 arch/x86/purgatory/purgatory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/purgatory/purgatory.c
index 25e068b..c58a31f 100644
--- a/arch/x86/purgatory/purgatory.c
+++ b/arch/x86/purgatory/purgatory.c
@@ -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];
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web