Skip to contentSkip to conversation

drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers'

PATCH kernel test robot 2 participants 3 messages Dec 22, 2025 – Dec 23, 2025

Subsystems (2)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   4e44c635ba8c281f74001d47e20bbcb7f516530c
commit: 6e5f6bf2e3f036e6d7466d2a3322445729ea3356 [47/49] iio: magnetometer: Add mmc5633 sensor
config: sparc64-randconfig-001-20251223 (https://download.01.org/0day-ci/archive/20251223/[email protected]/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/[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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_read':

>> drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers'
   sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_write':
   drivers/base/regmap/regmap-i3c.c:22: undefined reference to `i3c_device_do_xfers'
   sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_is_support_hdr':
>> drivers/iio/magnetometer/mmc5633.c:193: undefined reference to `i3c_device_get_supported_xfer_mode'
   sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_read_measurement':
>> drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'
>> sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:237: undefined reference to `i3c_device_do_xfers'
   sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:251: undefined reference to `i3c_device_do_xfers'
>> sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV Depends on [n]: NETDEVICES [=n] && CAN [=y] Selected by [y]:
- CAN [=y] && NET [=y]
WARNING: unmet direct dependencies detected for REGMAP_I3C Depends on [n]: I3C [=n]
Selected by [y]:
- MMC5633 [=y] && IIO [=y] && (I2C [=y] || I3C [=n])

vim +41 drivers/base/regmap/regmap-i3c.c

6445500b43129b Vitor Soares   2019-06-06  24  
6445500b43129b Vitor Soares   2019-06-06  25  static int regmap_i3c_read(void *context,
6445500b43129b Vitor Soares   2019-06-06  26  			   const void *reg, size_t reg_size,
6445500b43129b Vitor Soares   2019-06-06  27  			   void *val, size_t val_size)
6445500b43129b Vitor Soares   2019-06-06  28  {
6445500b43129b Vitor Soares   2019-06-06  29  	struct device *dev = context;
6445500b43129b Vitor Soares   2019-06-06  30  	struct i3c_device *i3c = dev_to_i3cdev(dev);
79c3ae7ada0548 Frank Li       2025-10-28  31  	struct i3c_xfer xfers[2];
6445500b43129b Vitor Soares   2019-06-06  32  
6445500b43129b Vitor Soares   2019-06-06  33  	xfers[0].rnw = false;
6445500b43129b Vitor Soares   2019-06-06  34  	xfers[0].len = reg_size;
6445500b43129b Vitor Soares   2019-06-06  35  	xfers[0].data.out = reg;
6445500b43129b Vitor Soares   2019-06-06  36  
6445500b43129b Vitor Soares   2019-06-06  37  	xfers[1].rnw = true;
6445500b43129b Vitor Soares   2019-06-06  38  	xfers[1].len = val_size;
6445500b43129b Vitor Soares   2019-06-06  39  	xfers[1].data.in = val;
6445500b43129b Vitor Soares   2019-06-06  40  
c2f2b01b74be8b Linus Torvalds 2025-12-08 @41  	return i3c_device_do_xfers(i3c, xfers, ARRAY_SIZE(xfers), I3C_SDR);
6445500b43129b Vitor Soares   2019-06-06  42  }
6445500b43129b Vitor Soares   2019-06-06  43  

:::::: The code at line 41 was first introduced by commit
:::::: c2f2b01b74be8b40a2173372bcd770723f87e7b2 Merge tag 'i3c/for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux

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

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#1 lore raw
Quoted 16 lines · On Tue, 23 Dec 2025 04:17:12 +0800 kernel test robot <[email protected]> wrote:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   4e44c635ba8c281f74001d47e20bbcb7f516530c
commit: 6e5f6bf2e3f036e6d7466d2a3322445729ea3356 [47/49] iio: magnetometer: Add mmc5633 sensor
config: sparc64-randconfig-001-20251223 (https://download.01.org/0day-ci/archive/20251223/[email protected]/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/[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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_read':

Quoted 1 line
Quoted 1 line

drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers'

Quoted 9 lines

sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_write':
drivers/base/regmap/regmap-i3c.c:22: undefined reference to `i3c_device_do_xfers'
sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_is_support_hdr':

Quoted 1 line
Quoted 1 line

drivers/iio/magnetometer/mmc5633.c:193: undefined reference to `i3c_device_get_supported_xfer_mode'

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_read_measurement':

Quoted 2 lines
Quoted 2 lines

drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'
sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:237: undefined reference to `i3c_device_do_xfers'

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:251: undefined reference to `i3c_device_do_xfers'

Quoted 1 line
Quoted 1 line

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'

Seems like we need a stub.

Jonathan

Quoted 41 lines

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV Depends on [n]: NETDEVICES [=n] && CAN [=y] Selected by [y]:
- CAN [=y] && NET [=y]
WARNING: unmet direct dependencies detected for REGMAP_I3C Depends on [n]: I3C [=n]
Selected by [y]:
- MMC5633 [=y] && IIO [=y] && (I2C [=y] || I3C [=n])

vim +41 drivers/base/regmap/regmap-i3c.c

6445500b43129b Vitor Soares   2019-06-06  24  
6445500b43129b Vitor Soares   2019-06-06  25  static int regmap_i3c_read(void *context,
6445500b43129b Vitor Soares   2019-06-06  26  			   const void *reg, size_t reg_size,
6445500b43129b Vitor Soares   2019-06-06  27  			   void *val, size_t val_size)
6445500b43129b Vitor Soares   2019-06-06  28  {
6445500b43129b Vitor Soares   2019-06-06  29  	struct device *dev = context;
6445500b43129b Vitor Soares   2019-06-06  30  	struct i3c_device *i3c = dev_to_i3cdev(dev);
79c3ae7ada0548 Frank Li       2025-10-28  31  	struct i3c_xfer xfers[2];
6445500b43129b Vitor Soares   2019-06-06  32  
6445500b43129b Vitor Soares   2019-06-06  33  	xfers[0].rnw = false;
6445500b43129b Vitor Soares   2019-06-06  34  	xfers[0].len = reg_size;
6445500b43129b Vitor Soares   2019-06-06  35  	xfers[0].data.out = reg;
6445500b43129b Vitor Soares   2019-06-06  36  
6445500b43129b Vitor Soares   2019-06-06  37  	xfers[1].rnw = true;
6445500b43129b Vitor Soares   2019-06-06  38  	xfers[1].len = val_size;
6445500b43129b Vitor Soares   2019-06-06  39  	xfers[1].data.in = val;
6445500b43129b Vitor Soares   2019-06-06  40  
c2f2b01b74be8b Linus Torvalds 2025-12-08 @41  	return i3c_device_do_xfers(i3c, xfers, ARRAY_SIZE(xfers), I3C_SDR);
6445500b43129b Vitor Soares   2019-06-06  42  }
6445500b43129b Vitor Soares   2019-06-06  43  

:::::: The code at line 41 was first introduced by commit
:::::: c2f2b01b74be8b40a2173372bcd770723f87e7b2 Merge tag 'i3c/for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux

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

#2 lore raw
Quoted 22 lines · On Tue, 23 Dec 2025 09:30:37 +0000 Jonathan Cameron…
Quoted 19 lines · On Tue, 23 Dec 2025 04:17:12 +0800 kernel test robot <[email protected]> wrote:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   4e44c635ba8c281f74001d47e20bbcb7f516530c
commit: 6e5f6bf2e3f036e6d7466d2a3322445729ea3356 [47/49] iio: magnetometer: Add mmc5633 sensor
config: sparc64-randconfig-001-20251223 (https://download.01.org/0day-ci/archive/20251223/[email protected]/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/[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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_read':

Quoted 1 line
Quoted 1 line

drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers'

sparc64-linux-ld: drivers/base/regmap/regmap-i3c.o: in function `regmap_i3c_write':
drivers/base/regmap/regmap-i3c.c:22: undefined reference to `i3c_device_do_xfers'
sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_is_support_hdr':

Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line

drivers/iio/magnetometer/mmc5633.c:193: undefined reference to `i3c_device_get_supported_xfer_mode'

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.o: in function `mmc5633_read_measurement':

Quoted 2 lines
Quoted 2 lines

drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'
sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:237: undefined reference to `i3c_device_do_xfers'

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:251: undefined reference to `i3c_device_do_xfers'

Quoted 1 line
Quoted 1 line

sparc64-linux-ld: drivers/iio/magnetometer/mmc5633.c:230: undefined reference to `i3c_device_do_xfers'

Seems like we need a stub.

+CC the lists to broaden awareness.

Quoted 46 lines

Jonathan

Quoted 41 lines

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CAN_DEV Depends on [n]: NETDEVICES [=n] && CAN [=y] Selected by [y]:
- CAN [=y] && NET [=y]
WARNING: unmet direct dependencies detected for REGMAP_I3C Depends on [n]: I3C [=n]
Selected by [y]:
- MMC5633 [=y] && IIO [=y] && (I2C [=y] || I3C [=n])

vim +41 drivers/base/regmap/regmap-i3c.c

6445500b43129b Vitor Soares   2019-06-06  24  
6445500b43129b Vitor Soares   2019-06-06  25  static int regmap_i3c_read(void *context,
6445500b43129b Vitor Soares   2019-06-06  26  			   const void *reg, size_t reg_size,
6445500b43129b Vitor Soares   2019-06-06  27  			   void *val, size_t val_size)
6445500b43129b Vitor Soares   2019-06-06  28  {
6445500b43129b Vitor Soares   2019-06-06  29  	struct device *dev = context;
6445500b43129b Vitor Soares   2019-06-06  30  	struct i3c_device *i3c = dev_to_i3cdev(dev);
79c3ae7ada0548 Frank Li       2025-10-28  31  	struct i3c_xfer xfers[2];
6445500b43129b Vitor Soares   2019-06-06  32  
6445500b43129b Vitor Soares   2019-06-06  33  	xfers[0].rnw = false;
6445500b43129b Vitor Soares   2019-06-06  34  	xfers[0].len = reg_size;
6445500b43129b Vitor Soares   2019-06-06  35  	xfers[0].data.out = reg;
6445500b43129b Vitor Soares   2019-06-06  36  
6445500b43129b Vitor Soares   2019-06-06  37  	xfers[1].rnw = true;
6445500b43129b Vitor Soares   2019-06-06  38  	xfers[1].len = val_size;
6445500b43129b Vitor Soares   2019-06-06  39  	xfers[1].data.in = val;
6445500b43129b Vitor Soares   2019-06-06  40  
c2f2b01b74be8b Linus Torvalds 2025-12-08 @41  	return i3c_device_do_xfers(i3c, xfers, ARRAY_SIZE(xfers), I3C_SDR);
6445500b43129b Vitor Soares   2019-06-06  42  }
6445500b43129b Vitor Soares   2019-06-06  43  

:::::: The code at line 41 was first introduced by commit
:::::: c2f2b01b74be8b40a2173372bcd770723f87e7b2 Merge tag 'i3c/for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux

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