All of lore.kernel.org
 help / color / mirror / Atom feed
* [ipsec-next:testing 4/6] net/xfrm/xfrm_state.c:1792:9: error: '__xfrm6_tmpl_sort_cmp' undeclared; did you mean 'xfrm_tmpl_sort'?
@ 2019-06-05 12:11 kbuild test robot
  2019-06-05 12:40 ` Florian Westphal
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2019-06-05 12:11 UTC (permalink / raw)
  To: Florian Westphal; +Cc: kbuild-all, netdev, Steffen Klassert

[-- Attachment #1: Type: text/plain, Size: 2341 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git testing
head:   ca78a3eaad69bd08ba41c144c21881dc694d4a32
commit: 8dc6e3891a4be64c0cca5e8fe2c3ad33bc06543e [4/6] xfrm: remove state and template sort indirections from xfrm_state_afinfo
config: i386-randconfig-x003-201922 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 8dc6e3891a4be64c0cca5e8fe2c3ad33bc06543e
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   net/xfrm/xfrm_state.c: In function 'xfrm_tmpl_sort':
>> net/xfrm/xfrm_state.c:1792:9: error: '__xfrm6_tmpl_sort_cmp' undeclared (first use in this function); did you mean 'xfrm_tmpl_sort'?
            __xfrm6_tmpl_sort_cmp, 5);
            ^~~~~~~~~~~~~~~~~~~~~
            xfrm_tmpl_sort
   net/xfrm/xfrm_state.c:1792:9: note: each undeclared identifier is reported only once for each function it appears in
   net/xfrm/xfrm_state.c: In function 'xfrm_state_sort':
>> net/xfrm/xfrm_state.c:1806:9: error: '__xfrm6_state_sort_cmp' undeclared (first use in this function); did you mean '__xfrm6_state_addr_cmp'?
            __xfrm6_state_sort_cmp, 6);
            ^~~~~~~~~~~~~~~~~~~~~~
            __xfrm6_state_addr_cmp

vim +1792 net/xfrm/xfrm_state.c

  1783	
  1784	void
  1785	xfrm_tmpl_sort(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n,
  1786		       unsigned short family)
  1787	{
  1788		int i;
  1789	
  1790		if (family == AF_INET6)
  1791			__xfrm6_sort((void **)dst, (void **)src, n,
> 1792				     __xfrm6_tmpl_sort_cmp, 5);
  1793		else
  1794			for (i = 0; i < n; i++)
  1795				dst[i] = src[i];
  1796	}
  1797	
  1798	void
  1799	xfrm_state_sort(struct xfrm_state **dst, struct xfrm_state **src, int n,
  1800			unsigned short family)
  1801	{
  1802		int i;
  1803	
  1804		if (family == AF_INET6)
  1805			__xfrm6_sort((void **)dst, (void **)src, n,
> 1806				     __xfrm6_state_sort_cmp, 6);
  1807		else
  1808			for (i = 0; i < n; i++)
  1809				dst[i] = src[i];
  1810	}
  1811	#endif
  1812	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28320 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-06  7:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 12:11 [ipsec-next:testing 4/6] net/xfrm/xfrm_state.c:1792:9: error: '__xfrm6_tmpl_sort_cmp' undeclared; did you mean 'xfrm_tmpl_sort'? kbuild test robot
2019-06-05 12:40 ` Florian Westphal
2019-06-06  6:38   ` Steffen Klassert
2019-06-06  7:20     ` Florian Westphal

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.