]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: include kmemleak.h for kmemleak_not_leak()
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Apr 2018 23:28:59 +0000 (09:28 +1000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 17 Apr 2018 08:59:43 +0000 (10:59 +0200)
commit5add7dcbf6f4972bbc61c311ac9c497c106c265d
tree8774364303e266902d7dbe6c5aa62cf0fc1f26a0
parent7f3070540fc03f22a00d027cca703d0333b38938
netfilter: conntrack: include kmemleak.h for kmemleak_not_leak()

After merging the netfilter tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

net/netfilter/nf_conntrack_extend.c: In function 'nf_ct_ext_add':
net/netfilter/nf_conntrack_extend.c:74:2: error: implicit declaration of function 'kmemleak_not_leak' [-Werror=implicit-function-declaration]
  kmemleak_not_leak(old);
  ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Fixes: 8bc259a0e7d7 ("netfilter: conntrack: silent a memory leak warning")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_extend.c