diff options
| -rw-r--r-- | kernel/sysctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b46f496405e4..97186b99b0e4 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/security.h> | 30 | #include <linux/security.h> |
| 31 | #include <linux/ctype.h> | 31 | #include <linux/ctype.h> |
| 32 | #include <linux/kmemcheck.h> | 32 | #include <linux/kmemcheck.h> |
| 33 | #include <linux/kmemleak.h> | ||
| 33 | #include <linux/fs.h> | 34 | #include <linux/fs.h> |
| 34 | #include <linux/init.h> | 35 | #include <linux/init.h> |
| 35 | #include <linux/kernel.h> | 36 | #include <linux/kernel.h> |
| @@ -1556,7 +1557,10 @@ static struct ctl_table dev_table[] = { | |||
| 1556 | 1557 | ||
| 1557 | int __init sysctl_init(void) | 1558 | int __init sysctl_init(void) |
| 1558 | { | 1559 | { |
| 1559 | register_sysctl_table(sysctl_base_table); | 1560 | struct ctl_table_header *hdr; |
| 1561 | |||
| 1562 | hdr = register_sysctl_table(sysctl_base_table); | ||
| 1563 | kmemleak_not_leak(hdr); | ||
| 1560 | return 0; | 1564 | return 0; |
| 1561 | } | 1565 | } |
| 1562 | 1566 | ||
