arch/m68k/include/asm/nettel.h:60: undefined reference to `ppdata'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3d6d817622b0a9721e3cc404df3469171582be13
commit: f47c1b77d0a2a9c0d49ec14302e74f933398d1a3 clk: Move clk_{save,restore}_context() to COMMON_CLK section
date:   7 months ago
config: m68k-randconfig-r071-20260813 (https://download.01.org/0day-ci/archive/20260813/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 10.5.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/[email protected]/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
| Fixes: f47c1b77d0a2 ("clk: Move clk_{save,restore}_context() to COMMON_CLK section")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   m68k-linux-ld: arch/m68k/coldfire/nettel.o: in function `init_nettel':
>> arch/m68k/include/asm/nettel.h:60: undefined reference to `ppdata'
>> m68k-linux-ld: arch/m68k/include/asm/nettel.h:60: undefined reference to `ppdata'
>> m68k-linux-ld: arch/m68k/include/asm/nettel.h:60: undefined reference to `ppdata'
   m68k-linux-ld: arch/m68k/include/asm/nettel.h:61: undefined reference to `ppdata'
>> m68k-linux-ld: arch/m68k/include/asm/nettel.h:60: undefined reference to `ppdata'
   m68k-linux-ld: arch/m68k/coldfire/nettel.o:arch/m68k/include/asm/nettel.h:61: more undefined references to `ppdata' follow


vim +60 arch/m68k/include/asm/nettel.h

^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  55  
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  56  static __inline__ void mcf_setppdata(unsigned int mask, unsigned int bits)
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  57  {
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  58  	volatile unsigned short *pp;
732c611e5bbb76 arch/m68k/include/asm/nettel.h [email protected] 2009-06-19  59  	pp = (volatile unsigned short *) MCFSIM_PADAT;
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16 @60  	ppdata = (ppdata & ~mask) | bits;
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  61  	*pp = ppdata;
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  62  }
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  63  #endif
^1da177e4c3f41 include/asm-m68knommu/nettel.h Linus Torvalds   2005-04-16  64  

:::::: The code at line 60 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.