[net-next:master 272/276] net/ipv4/fib_semantics.c:553:3: error: implicit declaration of function 'lwtstate_free'

From: kbuild test robot <hidden>
Date: 2015-08-19 03:31:00

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   def63be85fe774477fb66043003e5b2ee748c4fa
commit: df383e6240ef222703648072dafd2a1ae21b0d2a [272/276] lwtunnel: fix memory leak
config: x86_64-randconfig-i0-201533 (attached as .config)
reproduce:
  git checkout df383e6240ef222703648072dafd2a1ae21b0d2a
  # save the attached .config to linux build tree
  make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   net/ipv4/fib_semantics.c: In function 'fib_encap_match':
quoted
net/ipv4/fib_semantics.c:553:3: error: implicit declaration of function 'lwtstate_free' [-Werror=implicit-function-declaration]
      lwtstate_free(lwtstate);
      ^
   cc1: some warnings being treated as errors

vim +/lwtstate_free +553 net/ipv4/fib_semantics.c

   547		if (oif)
   548			dev = __dev_get_by_index(net, oif);
   549		ret = lwtunnel_build_state(dev, encap_type,
   550					   encap, &lwtstate);
   551		if (!ret) {
   552			result = lwtunnel_cmp_encap(lwtstate, nh->nh_lwtstate);
 > 553			lwtstate_free(lwtstate);
   554		}
   555	
   556		return result;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help