Hi Nihar, kernel test robot noticed the following build errors: [auto build test ERROR on staging/staging-testing] url: https://github.com/intel-lab-lkp/linux/commits/Nihar-Chaithanya/staging-gpib-Modify-gpib_register_driver-to-return-error-if-it-fails/20241228-142936 base: staging/staging-testing patch link: https://lore.kernel.org/r/20241228060800.107653-8-niharchaithanya%40gmail.com patch subject: [PATCH v5 07/15] staging: gpib: fmh: Handle gpib_register_driver() errors config: sparc-randconfig-002-20241228 (https://download.01.org/0day-ci/archive/20241228/202412281702.kUUcfCcI-lkp@xxxxxxxxx/config) compiler: sparc-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241228/202412281702.kUUcfCcI-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/202412281702.kUUcfCcI-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_t1_delay': fmh_gpib.c:(.text+0x280): undefined reference to `nec7210_t1_delay' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_serial_poll_status': fmh_gpib.c:(.text+0x2ec): undefined reference to `nec7210_serial_poll_status' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_secondary_address': fmh_gpib.c:(.text+0x3f0): undefined reference to `nec7210_secondary_address' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_primary_address': fmh_gpib.c:(.text+0x404): undefined reference to `nec7210_primary_address' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_update_status': fmh_gpib.c:(.text+0x418): undefined reference to `nec7210_update_status' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_parallel_poll_response': fmh_gpib.c:(.text+0x42c): undefined reference to `nec7210_parallel_poll_response' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_parallel_poll': fmh_gpib.c:(.text+0x440): undefined reference to `nec7210_parallel_poll' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_parallel_poll_configure': fmh_gpib.c:(.text+0x454): undefined reference to `nec7210_parallel_poll_configure' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_disable_eos': fmh_gpib.c:(.text+0x464): undefined reference to `nec7210_disable_eos' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_enable_eos': fmh_gpib.c:(.text+0x47c): undefined reference to `nec7210_enable_eos' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_remote_enable': fmh_gpib.c:(.text+0x490): undefined reference to `nec7210_remote_enable' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_interface_clear': fmh_gpib.c:(.text+0x4a4): undefined reference to `nec7210_interface_clear' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_request_system_control': fmh_gpib.c:(.text+0x4b8): undefined reference to `nec7210_request_system_control' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_go_to_standby': fmh_gpib.c:(.text+0x4c8): undefined reference to `nec7210_go_to_standby' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_take_control': fmh_gpib.c:(.text+0x4dc): undefined reference to `nec7210_take_control' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_command': fmh_gpib.c:(.text+0x4f8): undefined reference to `nec7210_command' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_write': fmh_gpib.c:(.text+0x518): undefined reference to `nec7210_write' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_read': fmh_gpib.c:(.text+0x538): undefined reference to `nec7210_read' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_detach': fmh_gpib.c:(.text+0x720): undefined reference to `nec7210_board_reset' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_internal_interrupt': fmh_gpib.c:(.text+0x82c): undefined reference to `push_gpib_event' sparc-linux-ld: fmh_gpib.c:(.text+0x840): undefined reference to `nec7210_interrupt_have_status' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_device_match': fmh_gpib.c:(.text+0xae4): undefined reference to `gpib_match_device_path' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_dma_callback': fmh_gpib.c:(.text+0x1058): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_fifo_write_countable': fmh_gpib.c:(.text+0x10e8): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x1100): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x1164): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x1290): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o:fmh_gpib.c:(.text+0x12a4): more undefined references to `nec7210_set_reg_bits' follow sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_pci_detach': fmh_gpib.c:(.text+0x1820): undefined reference to `nec7210_board_reset' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_init.isra.0': fmh_gpib.c:(.text+0x1ae8): undefined reference to `nec7210_board_reset' sparc-linux-ld: fmh_gpib.c:(.text+0x1b08): undefined reference to `nec7210_set_handshake_mode' sparc-linux-ld: fmh_gpib.c:(.text+0x1b44): undefined reference to `nec7210_board_online' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_dma_write': fmh_gpib.c:(.text+0x1f24): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x1f38): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x2094): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_pci_attach_impl': fmh_gpib.c:(.text+0x2388): undefined reference to `gpib_pci_get_device' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_dma_read': fmh_gpib.c:(.text+0x26b0): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x26c4): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: fmh_gpib.c:(.text+0x27f0): undefined reference to `nec7210_set_reg_bits' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_exit_module': fmh_gpib.c:(.exit.text+0x8): undefined reference to `gpib_unregister_driver' sparc-linux-ld: fmh_gpib.c:(.exit.text+0x14): undefined reference to `gpib_unregister_driver' sparc-linux-ld: fmh_gpib.c:(.exit.text+0x20): undefined reference to `gpib_unregister_driver' sparc-linux-ld: fmh_gpib.c:(.exit.text+0x2c): undefined reference to `gpib_unregister_driver' sparc-linux-ld: drivers/staging/gpib/fmh_gpib/fmh_gpib.o: in function `fmh_gpib_init_module': fmh_gpib.c:(.init.text+0x4c): undefined reference to `gpib_register_driver' sparc-linux-ld: fmh_gpib.c:(.init.text+0x68): undefined reference to `gpib_register_driver' sparc-linux-ld: fmh_gpib.c:(.init.text+0x84): undefined reference to `gpib_register_driver' sparc-linux-ld: fmh_gpib.c:(.init.text+0xa0): undefined reference to `gpib_register_driver' >> sparc-linux-ld: fmh_gpib.c:(.init.text+0xb4): undefined reference to `gpib_unregister_driver' sparc-linux-ld: fmh_gpib.c:(.init.text+0xbc): undefined reference to `gpib_unregister_driver' sparc-linux-ld: fmh_gpib.c:(.init.text+0xc4): undefined reference to `gpib_unregister_driver' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki