Hi all, After merging the final tree, today's linux-next build (sparc64 defconfig) failed like this: net/ipv4/route.c: In function 'ip_static_sysctl_init': net/ipv4/route.c:3517:2: error: implicit declaration of function 'kmemleak_not_leak' [-Werror=implicit-function-declaration] Caused by commit 7f5938810890 ("net/ipv4:Remove two memleak reports by kmemleak_not_leak"). net/core/sysctl_net_core.c: In function 'sysctl_core_init': net/core/sysctl_net_core.c:259:2: error: implicit declaration of function 'kmemleak_not_leak' [-Werror=implicit-function-declaration] Caused by commit 798ec84d4575 ("net/core:Remove memleak reports by kmemleak_not_leak"). I added this patch for today: From: Stephen Rothwell Date: Thu, 19 Apr 2012 16:25:16 +1000 Subject: [PATCH] net: using kmemleak_not_leak requires including kmemleak.h fixes these build errors: net/ipv4/route.c: In function 'ip_static_sysctl_init': net/ipv4/route.c:3517:2: error: implicit declaration of function 'kmemleak_not_leak' [-Werror=implicit-function-declaration] net/core/sysctl_net_core.c: In function 'sysctl_core_init': net/core/sysctl_net_core.c:259:2: error: implicit declaration of function 'kmemleak_not_leak' [-Werror=implicit-function-declaration] Signed-off-by: Stephen Rothwell --- net/core/sysctl_net_core.c | 1 + net/ipv4/route.c | 1 + 2 files changed, 2 insertions(+) diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index cee5991..247c69b 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/net/ipv4/route.c b/net/ipv4/route.c index bcd4744..dcb4205 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -93,6 +93,7 @@ #include #include #include +#include #include #include #include -- 1.7.10.rc3 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au