From: H Hartley Sweeten Date: Wed, 5 Oct 2011 00:42:27 +0000 (+1100) Subject: arch/x86/mm/pageattr.c: quiet sparse noise; local functions should be static X-Git-Tag: next-20111012~1^2~266 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b3840be9d0bc7e4315cc61d1e2c6b3a6b3ce83e4;p=karo-tx-linux.git arch/x86/mm/pageattr.c: quiet sparse noise; local functions should be static Local functions should be marked static.  This quiets the following sparse noise: warning: symbol '_set_memory_array' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Signed-off-by: Andrew Morton --- diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index f9e526742fa1..eda2acbb6e81 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c @@ -998,7 +998,7 @@ out_err: } EXPORT_SYMBOL(set_memory_uc); -int _set_memory_array(unsigned long *addr, int addrinarray, +static int _set_memory_array(unsigned long *addr, int addrinarray, unsigned long new_type) { int i, j;