arch/x86/mm/pageattr.c: quiet sparse noise; local functions should be static
PATCH 1/1 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 <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Matthieu CASTET <[email protected]>
Cc Siarhei Liakh <[email protected]>
Cc Xuxian Jiang <[email protected]>
Cc Andrew Morton <[email protected]>
---
arch/x86/mm/pageattr.c +1 -1
@@ -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;