lkml.org 
[lkml]   [2009]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] security/min_addr.c: make init_mmap_min_addr() static
Date
From
init_mmap_min_addr() is a pure_initcall and should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>

---

diff --git a/security/min_addr.c b/security/min_addr.c
index c844eed..e92cc99 100644
--- a/security/min_addr.c
+++ b/security/min_addr.c
@@ -40,7 +40,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();


\
 
 \ /
  Last update: 2009-10-17 02:51    [W:0.033 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site