]> 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, 28 Sep 2011 00:49:42 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:07:51 +0000 (16:07 +1000)
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 <>
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;