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 <l...@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
.config.gz
Description: application/gzip