summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-12-16 00:05:12 +0100
committerJames Morris <jmorris@namei.org>2009-12-16 23:24:22 +0100
commitdd880fbe8e4792d1185a5101dc751f49eab0a509 (patch)
treec72673ed9e20c1967becd4118c77476406370d05 /security
parentkeys: PTR_ERR return of wrong pointer in keyctl_get_security() (diff)
downloadlinux-dd880fbe8e4792d1185a5101dc751f49eab0a509.tar.xz
linux-dd880fbe8e4792d1185a5101dc751f49eab0a509.zip
security/min_addr.c: make init_mmap_min_addr() static
init_mmap_min_addr() is a pure_initcall and should be static. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r--security/min_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/min_addr.c b/security/min_addr.c
index fc43c9d37084..e86f297522bf 100644
--- a/security/min_addr.c
+++ b/security/min_addr.c
@@ -43,7 +43,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
return ret;
}
-int __init init_mmap_min_addr(void)
+static int __init init_mmap_min_addr(void)
{
update_mmap_min_addr();