ERROR: modpost: "ebus_dma_irq_enable" [drivers/parport/parport_pc.ko] undefined!

From: kernel test robot
Date: Sun Mar 17 2024 - 20:34:11 EST


Hi Masahiro,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 906a93befec826475ab3d4facacc57a0b0a002a5
commit: f73edc8951b2de515b5ecc8a357ccd47dd41077e kbuild: unify two modpost invocations
date: 1 year, 6 months ago
config: sparc-randconfig-002-20240317 (https://download.01.org/0day-ci/archive/20240318/202403180855.4Mss6APq-lkp@xxxxxxxxx/config)
compiler: sparc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240318/202403180855.4Mss6APq-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403180855.4Mss6APq-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>, old ones prefixed by <<):

WARNING: modpost: vmlinux.o: section mismatch in reference: leon_pci_init (section: .text) -> pci_assign_unassigned_resources (section: .init.text)
WARNING: modpost: vmlinux.o: section mismatch in reference: grpci2_of_driver (section: .data) -> grpci2_of_match (section: .init.rodata)
>> ERROR: modpost: "ebus_dma_irq_enable" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_unregister" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_register" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_enable" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_prepare" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_request" [drivers/parport/parport_pc.ko] undefined!
>> ERROR: modpost: "ebus_dma_residue" [drivers/parport/parport_pc.ko] undefined!

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki