forked from Minki/linux
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>
This commit is contained in:
parent
fa1cc7b5a5
commit
dd880fbe8e
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user