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

Kim Phillips kim.phillips at freescale.com
Wed Oct 17 02:28:23 CEST 2012


extable.c:66:9: warning: symbol 'ex_tab_message' was not declared. Should it be static?

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

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)
-- 
1.7.12.3




More information about the U-Boot mailing list