All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aman Kumar Pandey <aman.kumarpandey@nxp.com>,
	linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org,
	alexandre.belloni@bootlin.com, krzk+dt@kernel.org,
	robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, vikash.bansal@nxp.com,
	priyanka.jain@nxp.com, shashank.rebbapragada@nxp.com,
	Frank.Li@nxp.com, Aman Kumar Pandey <aman.kumarpandey@nxp.com>
Subject: Re: [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device
Date: Fri, 14 Feb 2025 01:46:06 +0800	[thread overview]
Message-ID: <202502140107.5TZoA3GU-lkp@intel.com> (raw)
In-Reply-To: <20250212132227.1348374-2-aman.kumarpandey@nxp.com>

Hi Aman,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.14-rc2 next-20250213]
[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/Aman-Kumar-Pandey/drivers-i3c-Add-driver-for-NXP-P3H2x4x-i3c-hub-device/20250212-213659
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20250212132227.1348374-2-aman.kumarpandey%40nxp.com
patch subject: [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250214/202502140107.5TZoA3GU-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250214/202502140107.5TZoA3GU-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/202502140107.5TZoA3GU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub_i3c.c:7:
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:351:37: warning: 'io_strength_settings' defined but not used [-Wunused-const-variable=]
     351 | static const struct p3h2x4x_setting io_strength_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:345:37: warning: 'tp_pullup_settings' defined but not used [-Wunused-const-variable=]
     345 | static const struct p3h2x4x_setting tp_pullup_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:337:37: warning: 'tp_mode_settings' defined but not used [-Wunused-const-variable=]
     337 | static const struct p3h2x4x_setting tp_mode_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:329:37: warning: 'pullup_settings' defined but not used [-Wunused-const-variable=]
     329 | static const struct p3h2x4x_setting pullup_settings[] = {
         |                                     ^~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:321:37: warning: 'ldo_volt_settings' defined but not used [-Wunused-const-variable=]
     321 | static const struct p3h2x4x_setting ldo_volt_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:315:37: warning: 'ldo_en_settings' defined but not used [-Wunused-const-variable=]
     315 | static const struct p3h2x4x_setting ldo_en_settings[] = {
         |                                     ^~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:309:37: warning: 'ibi_en_settings' defined but not used [-Wunused-const-variable=]
     309 | static const struct p3h2x4x_setting ibi_en_settings[] = {
         |                                     ^~~~~~~~~~~~~~~


vim +/io_strength_settings +351 drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h

   307	
   308	/* IBI enable/disable settings */
 > 309	static const struct p3h2x4x_setting ibi_en_settings[] = {
   310		{ "disabled",	P3H2x4x_IBI_DISABLED },
   311		{ "enabled",	P3H2x4x_IBI_ENABLED },
   312	};
   313	
   314	/* LDO enable/disable settings */
 > 315	static const struct p3h2x4x_setting ldo_en_settings[] = {
   316		{ "disabled",	P3H2x4x_LDO_DISABLED },
   317		{ "enabled",	P3H2x4x_LDO_ENABLED },
   318	};
   319	
   320	/* LDO voltage settings */
 > 321	static const struct p3h2x4x_setting ldo_volt_settings[] = {
   322		{ "1.0V",	P3H2x4x_LDO_VOLT_1_0V },
   323		{ "1.1V",	P3H2x4x_LDO_VOLT_1_1V },
   324		{ "1.2V",	P3H2x4x_LDO_VOLT_1_2V },
   325		{ "1.8V",	P3H2x4x_LDO_VOLT_1_8V },
   326	};
   327	
   328	/* target port pull-up settings */
 > 329	static const struct p3h2x4x_setting pullup_settings[] = {
   330		{ "250R",		P3H2x4x_TP_PULLUP_250R },
   331		{ "500R",		P3H2x4x_TP_PULLUP_500R },
   332		{ "1000R",		P3H2x4x_TP_PULLUP_1000R },
   333		{ "2000R",		P3H2x4x_TP_PULLUP_2000R },
   334	};
   335	
   336	/* target port mode settings */
 > 337	static const struct p3h2x4x_setting tp_mode_settings[] = {
   338		{ "i3c",		P3H2x4x_TP_MODE_I3C },
   339		{ "smbus",		P3H2x4x_TP_MODE_SMBUS },
   340		{ "gpio",		P3H2x4x_TP_MODE_GPIO },
   341		{ "i2c",		P3H2x4x_TP_MODE_I2C },
   342	};
   343	
   344	/* pull-up enable/disable settings */
 > 345	static const struct p3h2x4x_setting tp_pullup_settings[] = {
   346		{ "disabled",	P3H2x4x_TP_PULLUP_DISABLED },
   347		{ "enabled",	P3H2x4x_TP_PULLUP_ENABLED },
   348	};
   349	
   350	/*  IO strenght settings */
 > 351	static const struct p3h2x4x_setting io_strength_settings[] = {
   352		{ "20Ohms",		P3H2x4x_IO_STRENGTH_20_OHM },
   353		{ "30Ohms",		P3H2x4x_IO_STRENGTH_30_OHM },
   354		{ "40Ohms",		P3H2x4x_IO_STRENGTH_40_OHM },
   355		{ "50Ohms",		P3H2x4x_IO_STRENGTH_50_OHM },
   356	};
   357	

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

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Aman Kumar Pandey <aman.kumarpandey@nxp.com>,
	linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org,
	alexandre.belloni@bootlin.com, krzk+dt@kernel.org,
	robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, vikash.bansal@nxp.com,
	priyanka.jain@nxp.com, shashank.rebbapragada@nxp.com,
	Frank.Li@nxp.com, Aman Kumar Pandey <aman.kumarpandey@nxp.com>
Subject: Re: [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device
Date: Fri, 14 Feb 2025 01:46:06 +0800	[thread overview]
Message-ID: <202502140107.5TZoA3GU-lkp@intel.com> (raw)
In-Reply-To: <20250212132227.1348374-2-aman.kumarpandey@nxp.com>

Hi Aman,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.14-rc2 next-20250213]
[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/Aman-Kumar-Pandey/drivers-i3c-Add-driver-for-NXP-P3H2x4x-i3c-hub-device/20250212-213659
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20250212132227.1348374-2-aman.kumarpandey%40nxp.com
patch subject: [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250214/202502140107.5TZoA3GU-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250214/202502140107.5TZoA3GU-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/202502140107.5TZoA3GU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub_i3c.c:7:
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:351:37: warning: 'io_strength_settings' defined but not used [-Wunused-const-variable=]
     351 | static const struct p3h2x4x_setting io_strength_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:345:37: warning: 'tp_pullup_settings' defined but not used [-Wunused-const-variable=]
     345 | static const struct p3h2x4x_setting tp_pullup_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:337:37: warning: 'tp_mode_settings' defined but not used [-Wunused-const-variable=]
     337 | static const struct p3h2x4x_setting tp_mode_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:329:37: warning: 'pullup_settings' defined but not used [-Wunused-const-variable=]
     329 | static const struct p3h2x4x_setting pullup_settings[] = {
         |                                     ^~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:321:37: warning: 'ldo_volt_settings' defined but not used [-Wunused-const-variable=]
     321 | static const struct p3h2x4x_setting ldo_volt_settings[] = {
         |                                     ^~~~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:315:37: warning: 'ldo_en_settings' defined but not used [-Wunused-const-variable=]
     315 | static const struct p3h2x4x_setting ldo_en_settings[] = {
         |                                     ^~~~~~~~~~~~~~~
>> drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h:309:37: warning: 'ibi_en_settings' defined but not used [-Wunused-const-variable=]
     309 | static const struct p3h2x4x_setting ibi_en_settings[] = {
         |                                     ^~~~~~~~~~~~~~~


vim +/io_strength_settings +351 drivers/i3c/p3h2x4x/p3h2x4x_i3c_hub.h

   307	
   308	/* IBI enable/disable settings */
 > 309	static const struct p3h2x4x_setting ibi_en_settings[] = {
   310		{ "disabled",	P3H2x4x_IBI_DISABLED },
   311		{ "enabled",	P3H2x4x_IBI_ENABLED },
   312	};
   313	
   314	/* LDO enable/disable settings */
 > 315	static const struct p3h2x4x_setting ldo_en_settings[] = {
   316		{ "disabled",	P3H2x4x_LDO_DISABLED },
   317		{ "enabled",	P3H2x4x_LDO_ENABLED },
   318	};
   319	
   320	/* LDO voltage settings */
 > 321	static const struct p3h2x4x_setting ldo_volt_settings[] = {
   322		{ "1.0V",	P3H2x4x_LDO_VOLT_1_0V },
   323		{ "1.1V",	P3H2x4x_LDO_VOLT_1_1V },
   324		{ "1.2V",	P3H2x4x_LDO_VOLT_1_2V },
   325		{ "1.8V",	P3H2x4x_LDO_VOLT_1_8V },
   326	};
   327	
   328	/* target port pull-up settings */
 > 329	static const struct p3h2x4x_setting pullup_settings[] = {
   330		{ "250R",		P3H2x4x_TP_PULLUP_250R },
   331		{ "500R",		P3H2x4x_TP_PULLUP_500R },
   332		{ "1000R",		P3H2x4x_TP_PULLUP_1000R },
   333		{ "2000R",		P3H2x4x_TP_PULLUP_2000R },
   334	};
   335	
   336	/* target port mode settings */
 > 337	static const struct p3h2x4x_setting tp_mode_settings[] = {
   338		{ "i3c",		P3H2x4x_TP_MODE_I3C },
   339		{ "smbus",		P3H2x4x_TP_MODE_SMBUS },
   340		{ "gpio",		P3H2x4x_TP_MODE_GPIO },
   341		{ "i2c",		P3H2x4x_TP_MODE_I2C },
   342	};
   343	
   344	/* pull-up enable/disable settings */
 > 345	static const struct p3h2x4x_setting tp_pullup_settings[] = {
   346		{ "disabled",	P3H2x4x_TP_PULLUP_DISABLED },
   347		{ "enabled",	P3H2x4x_TP_PULLUP_ENABLED },
   348	};
   349	
   350	/*  IO strenght settings */
 > 351	static const struct p3h2x4x_setting io_strength_settings[] = {
   352		{ "20Ohms",		P3H2x4x_IO_STRENGTH_20_OHM },
   353		{ "30Ohms",		P3H2x4x_IO_STRENGTH_30_OHM },
   354		{ "40Ohms",		P3H2x4x_IO_STRENGTH_40_OHM },
   355		{ "50Ohms",		P3H2x4x_IO_STRENGTH_50_OHM },
   356	};
   357	

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

  parent reply	other threads:[~2025-02-13 18:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-12 13:22 [PATCH 1/2] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Aman Kumar Pandey
2025-02-12 13:22 ` Aman Kumar Pandey
2025-02-12 13:22 ` [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device Aman Kumar Pandey
2025-02-12 13:22   ` Aman Kumar Pandey
2025-02-12 16:42   ` Frank Li
2025-02-12 16:42     ` Frank Li
2025-02-12 16:53   ` Krzysztof Kozlowski
2025-02-12 16:53     ` Krzysztof Kozlowski
2025-02-12 18:20   ` Alexandre Belloni
2025-02-12 18:20     ` Alexandre Belloni
2025-02-13 11:49   ` kernel test robot
2025-02-13 11:49     ` kernel test robot
2025-02-13 17:46   ` kernel test robot [this message]
2025-02-13 17:46     ` kernel test robot
2025-02-14  4:21   ` kernel test robot
2025-02-14  4:21     ` kernel test robot
2025-02-16 15:17   ` Dan Carpenter
2025-02-16 15:17     ` Dan Carpenter
2025-02-19  4:52   ` kernel test robot
2025-02-19  4:52     ` kernel test robot
2025-02-12 15:25 ` [PATCH 1/2] dt-bindings: i3c: Add NXP P3H2x4x i3c-hub support Rob Herring (Arm)
2025-02-12 15:25   ` Rob Herring (Arm)
2025-02-12 16:23 ` Frank Li
2025-02-12 16:23   ` Frank Li
2025-02-12 16:49 ` Krzysztof Kozlowski
2025-02-12 16:49   ` Krzysztof Kozlowski
  -- strict thread matches above, loose matches on Subject: below --
2025-02-15  1:02 [PATCH 2/2] drivers: i3c: Add driver for NXP P3H2x4x i3c-hub device kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202502140107.5TZoA3GU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Frank.Li@nxp.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=aman.kumarpandey@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=priyanka.jain@nxp.com \
    --cc=robh@kernel.org \
    --cc=shashank.rebbapragada@nxp.com \
    --cc=vikash.bansal@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.