* [cilium:pr/ndo_peer2 4/6] include/linux/stddef.h:8:14: error: called object is not a function or function pointer
@ 2023-11-02 23:39 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-02 23:39 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: oe-kbuild-all, Daniel Borkmann, Nikolay Aleksandrov
tree: https://github.com/cilium/linux.git pr/ndo_peer2
head: 4520680ca55ca7c62b1f520cd43641c93cb4a55a
commit: ff1a15530833e0813ac71476e30905bd5d486667 [4/6] bpf, netkit, veth: Add indirect call wrapper for ndo_get_peer_dev
config: x86_64-randconfig-012-20231103 (https://download.01.org/0day-ci/archive/20231103/202311030746.YllMeEVn-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311030746.YllMeEVn-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311030746.YllMeEVn-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/net/sock.h:62,
from include/linux/sock_diag.h:8,
from net/core/filter.c:27:
net/core/filter.c: In function 'netdev_get_peer':
>> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
8 | #define NULL ((void *)0)
| ^
include/linux/indirect_call_wrapper.h:22:35: note: in definition of macro 'INDIRECT_CALL_2'
22 | likely(f == f2) ? f2(__VA_ARGS__) : \
| ^~
include/net/netkit.h:43:25: note: in expansion of macro 'NULL'
43 | # define peer_netkit NULL
| ^~~~
net/core/filter.c:2479:40: note: in expansion of macro 'peer_netkit'
2479 | peer_netkit, peer_veth, dev);
| ^~~~~~~~~~~
>> include/linux/stddef.h:8:14: error: called object is not a function or function pointer
8 | #define NULL ((void *)0)
| ^
include/linux/indirect_call_wrapper.h:18:35: note: in definition of macro 'INDIRECT_CALL_1'
18 | likely(f == f1) ? f1(__VA_ARGS__) : f(__VA_ARGS__); \
| ^~
net/core/filter.c:2478:24: note: in expansion of macro 'INDIRECT_CALL_2'
2478 | return INDIRECT_CALL_2(ops->ndo_get_peer_dev,
| ^~~~~~~~~~~~~~~
include/net/veth.h:12:25: note: in expansion of macro 'NULL'
12 | #define peer_veth NULL
| ^~~~
net/core/filter.c:2479:53: note: in expansion of macro 'peer_veth'
2479 | peer_netkit, peer_veth, dev);
| ^~~~~~~~~
vim +8 include/linux/stddef.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 6
^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30 9
:::::: The code at line 8 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-02 23:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02 23:39 [cilium:pr/ndo_peer2 4/6] include/linux/stddef.h:8:14: error: called object is not a function or function pointer kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.