[linux-next:master 11003/11791] include/linux/dsa/ocelot.h:180: undefined reference to `packing'

From: kernel test robot <hidden>
Date: 2021-02-19 05:01:38
Also in: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ff90dfd2579b2c7bc1f0baa0cb99c918c6c1ec64
commit: 40d3f295b5feda409784e569550057b5fbc2a295 [11003/11791] net: mscc: ocelot: use common tag parsing code with DSA
config: i386-randconfig-a006-20200816 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=40d3f295b5feda409784e569550057b5fbc2a295
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 40d3f295b5feda409784e569550057b5fbc2a295
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

Note: the linux-next/master HEAD ff90dfd2579b2c7bc1f0baa0cb99c918c6c1ec64 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   ld: drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_ifh_set_bypass':
quoted
include/linux/dsa/ocelot.h:180: undefined reference to `packing'
   ld: drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_ifh_set_dest':
   include/linux/dsa/ocelot.h:190: undefined reference to `packing'
   ld: drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_ifh_set_tag_type':
   include/linux/dsa/ocelot.h:200: undefined reference to `packing'
   ld: drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_ifh_set_vid':
   include/linux/dsa/ocelot.h:205: undefined reference to `packing'
   ld: drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_ifh_set_rew_op':
   include/linux/dsa/ocelot.h:185: undefined reference to `packing'
   ld: drivers/net/ethernet/mscc/ocelot_vsc7514.o:include/linux/dsa/ocelot.h:160: more undefined references to `packing' follow


vim +180 include/linux/dsa/ocelot.h

   177	
   178	static inline void ocelot_ifh_set_bypass(void *injection, u64 bypass)
   179	{
 > 180		packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0);
   181	}
   182	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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