]> 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>
Fri, 2 Dec 2011 03:06:56 +0000 (14:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:20 +0000 (14:15 +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;