Re: [PATCH 02/13] scsi: alua: Create a core ALUA driver

From: kernel test robot

Date: Wed Mar 18 2026 - 19:01:35 EST


Hi John,

kernel test robot noticed the following build errors:

[auto build test ERROR on mkp-scsi/for-next]
[also build test ERROR on jejb-scsi/for-next linus/master v7.0-rc4 next-20260318]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/John-Garry/scsi-scsi_dh_alua-Delete-alua_port_group/20260318-105207
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
patch link: https://lore.kernel.org/r/20260317120703.3702387-3-john.g.garry%40oracle.com
patch subject: [PATCH 02/13] scsi: alua: Create a core ALUA driver
config: um-randconfig-001-20260319 (https://download.01.org/0day-ci/archive/20260319/202603190613.weiFq4ac-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260319/202603190613.weiFq4ac-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/202603190613.weiFq4ac-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

/usr/bin/ld: drivers/scsi/scsi.o: in function `exit_scsi':
>> scsi.c:(.exit.text+0x1b): undefined reference to `scsi_exit_alua'
/usr/bin/ld: drivers/scsi/scsi.o: in function `init_scsi':
>> scsi.c:(.init.text+0x8c): undefined reference to `scsi_alua_init'
/usr/bin/ld: drivers/scsi/scsi_scan.o: in function `scsi_add_lun':
>> scsi_scan.c:(.text+0x1797): undefined reference to `scsi_alua_sdev_init'
/usr/bin/ld: drivers/scsi/scsi_sysfs.o: in function `scsi_device_dev_release':
>> scsi_sysfs.c:(.text+0x1e8a): undefined reference to `scsi_alua_sdev_exit'
collect2: error: ld returned 1 exit status

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