Skip to content

Commit dd880fb

Browse files
H Hartley Sweetenxjamesmorris
authored andcommitted
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>
1 parent fa1cc7b commit dd880fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

security/min_addr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
4343
return ret;
4444
}
4545

46-
int __init init_mmap_min_addr(void)
46+
static int __init init_mmap_min_addr(void)
4747
{
4848
update_mmap_min_addr();
4949

0 commit comments

Comments
 (0)