]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arch/x86/mm/pageattr.c: quiet sparse noise; local functions should be static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 16 Nov 2011 23:41:03 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 18 Nov 2011 03:49:42 +0000 (14:49 +1100)
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 <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/pageattr.c

index f9e526742fa1817750e0cf591d23ca910ab3fbba..eda2acbb6e81b2895e7645bd21fc8624ad355e7e 100644 (file)
@@ -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;