[PATCH v8 7/7] i3c: hub: p3h2x4x: Add support for NXP P3H2x4x I3C hub functionality

kernel test robot lkp at intel.com
Wed Mar 25 11:57:18 PDT 2026


Hi Lakshay,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-regulator/for-next]
[also build test ERROR on linus/master v7.0-rc5 next-20260324]
[cannot apply to i3c/i3c/next lee-mfd/for-mfd-next lee-mfd/for-mfd-fixes]
[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/Lakshay-Piplani/i3c-master-Expose-the-APIs-to-support-I3C-hub/20260325-150847
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
patch link:    https://lore.kernel.org/r/20260323062737.886728-8-lakshay.piplani%40nxp.com
patch subject: [PATCH v8 7/7] i3c: hub: p3h2x4x: Add support for NXP P3H2x4x I3C hub functionality
config: um-randconfig-002-20260326 (https://download.01.org/0day-ci/archive/20260326/202603260207.uKW7MqMC-lkp@intel.com/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/20260326/202603260207.uKW7MqMC-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603260207.uKW7MqMC-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:357:10: error: 'struct i2c_algorithm' has no member named 'reg_slave'
     357 |         .reg_slave = p3h2x4x_tp_i2c_reg_slave,
         |          ^~~~~~~~~
>> drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:357:22: error: initialization of 'int (*)(struct i2c_adapter *, struct i2c_msg *, int)' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Wincompatible-pointer-types]
     357 |         .reg_slave = p3h2x4x_tp_i2c_reg_slave,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:357:22: note: (near initialization for 'p3h2x4x_tp_i2c_algorithm.<anonymous>.xfer_atomic')
>> drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:358:10: error: 'struct i2c_algorithm' has no member named 'unreg_slave'
     358 |         .unreg_slave = p3h2x4x_tp_i2c_unreg_slave,
         |          ^~~~~~~~~~~
>> drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:358:24: error: initialization of 'int (*)(struct i2c_adapter *, u16,  short unsigned int,  char,  u8,  int,  union i2c_smbus_data *)' {aka 'int (*)(struct i2c_adapter *, short unsigned int,  short unsigned int,  char,  unsigned char,  int,  union i2c_smbus_data *)'} from incompatible pointer type 'int (*)(struct i2c_client *)' [-Wincompatible-pointer-types]
     358 |         .unreg_slave = p3h2x4x_tp_i2c_unreg_slave,
         |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:358:24: note: (near initialization for 'p3h2x4x_tp_i2c_algorithm.smbus_xfer')
>> drivers/i3c/hub/p3h2840_i3c_hub_smbus.c:355:56: warning: missing braces around initializer [-Wmissing-braces]
     355 | static struct i2c_algorithm p3h2x4x_tp_i2c_algorithm = {
         |                                                        ^
     356 |         .master_xfer    = p3h2x4x_tp_i2c_xfer,
         |                                              }
     357 |         .reg_slave = p3h2x4x_tp_i2c_reg_slave,
         |                      {                       }


vim +357 drivers/i3c/hub/p3h2840_i3c_hub_smbus.c

   351	
   352	/*
   353	 * I2C algorithm Structure
   354	 */
 > 355	static struct i2c_algorithm p3h2x4x_tp_i2c_algorithm = {
   356		.master_xfer    = p3h2x4x_tp_i2c_xfer,
 > 357		.reg_slave = p3h2x4x_tp_i2c_reg_slave,
 > 358		.unreg_slave = p3h2x4x_tp_i2c_unreg_slave,
   359		.functionality  = p3h2x4x_tp_smbus_funcs,
   360	};
   361	

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



More information about the linux-i3c mailing list