Patchwork [U-Boot,07/32] arch/powerpc/lib/extable.c: sparse fix

login
register
mail settings
Submitter Kim Phillips
Date Oct. 17, 2012, 12:28 a.m.
Message ID <1350433728-24120-8-git-send-email-kim.phillips@freescale.com>
Download mbox | patch
Permalink /patch/191929/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Kim Phillips - Oct. 17, 2012, 12:28 a.m.
extable.c:66:9: warning: symbol 'ex_tab_message' was not declared. Should it be static?

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
---
 arch/powerpc/lib/extable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/powerpc/lib/extable.c b/arch/powerpc/lib/extable.c
index 7408d5c..7e74a5d 100644
--- a/arch/powerpc/lib/extable.c
+++ b/arch/powerpc/lib/extable.c
@@ -63,7 +63,7 @@  search_one_table(const struct exception_table_entry *first,
 	return 0;
 }
 
-int	ex_tab_message = 1;
+static int ex_tab_message = 1;
 
 unsigned long
 search_exception_table(unsigned long addr)