All of lore.kernel.org
 help / color / mirror / Atom feed
* [jic23-iio:testing 47/49] drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers'
@ 2025-12-22 20:17 kernel test robot
  2025-12-23  9:30 ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2025-12-22 20:17 UTC (permalink / raw)
  To: Frank Li
  Cc: oe-kbuild-all, Jonathan Cameron, Carlos Song, Adrian Fluturel,
	Andy Shevchenko

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/202512230418.nu3V6Yua-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/202512230418.nu3V6Yua-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512230418.nu3V6Yua-lkp@intel.com/

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 <torvalds@linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-23  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 20:17 [jic23-iio:testing 47/49] drivers/base/regmap/regmap-i3c.c:41: undefined reference to `i3c_device_do_xfers' kernel test robot
2025-12-23  9:30 ` Jonathan Cameron
2025-12-23  9:31   ` Jonathan Cameron
2025-12-23  9:31     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.