public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stoyan Bogdanov <sbogdanov@baylibre.com>,
	jbrunet@baylibre.com, linux@roeck-us.net, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, corbet@lwn.net,
	skhan@linuxfoundation.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Stoyan Bogdanov <sbogdanov@baylibre.com>
Subject: Re: [PATCH v1 1/3] hwmon: (pmbus/tps25990): Rework TPS25990 non standatd direct conversion
Date: Thu, 12 Feb 2026 22:55:29 +0800	[thread overview]
Message-ID: <202602122220.QLj7Hqb7-lkp@intel.com> (raw)
In-Reply-To: <20260212084502.1795-2-sbogdanov@baylibre.com>

Hi Stoyan,

kernel test robot noticed the following build errors:

[auto build test ERROR on groeck-staging/hwmon-next]
[also build test ERROR on linus/master v6.19 next-20260211]
[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/Stoyan-Bogdanov/hwmon-pmbus-tps25990-Rework-TPS25990-non-standatd-direct-conversion/20260212-164903
base:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
patch link:    https://lore.kernel.org/r/20260212084502.1795-2-sbogdanov%40baylibre.com
patch subject: [PATCH v1 1/3] hwmon: (pmbus/tps25990): Rework TPS25990 non standatd direct conversion
config: powerpc64-randconfig-001-20260212 (https://download.01.org/0day-ci/archive/20260212/202602122220.QLj7Hqb7-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260212/202602122220.QLj7Hqb7-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/202602122220.QLj7Hqb7-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/hwmon/pmbus/tps25990.c:463:11: error: use of undeclared identifier 'ENOTSUP'
     463 |                 return -ENOTSUP;
         |                         ^~~~~~~
   1 error generated.


vim +/ENOTSUP +463 drivers/hwmon/pmbus/tps25990.c

   447	
   448	static int tps25990_probe(struct i2c_client *client)
   449	{
   450		struct device *dev = &client->dev;
   451		struct tps25990_data *data;
   452		u32 rimon = TPS25990_DEFAULT_RIMON;
   453		struct pmbus_driver_info *info_get;
   454		struct local_direct_value *info_local_get;
   455		int ret;
   456	
   457		ret = device_property_read_u32(dev, "ti,rimon-micro-ohms", &rimon);
   458		if (ret < 0 && ret != -EINVAL)
   459			return dev_err_probe(dev, ret, "failed to get rimon\n");
   460	
   461		data = (struct tps25990_data *)of_device_get_match_data(dev);
   462		if (!data)
 > 463			return -ENOTSUP;
   464	
   465		info_get = data->info;
   466		/* Make copy of pmbus_info and replace it to preserve original values */
   467		data->info = devm_kmemdup(dev, info_get, sizeof(*info_get), GFP_KERNEL);
   468		if (!data->info)
   469			return -ENOMEM;
   470	
   471		info_local_get = data->info_local;
   472		/* Make copy of pmbus_info and replace it to preserve original values */
   473		data->info_local = devm_kmemdup(dev, info_local_get, sizeof(*info_local_get), GFP_KERNEL);
   474		if (!data->info_local)
   475			return -ENOMEM;
   476	
   477		/* Adapt the current and power scale for each instance */
   478		tps25990_set_m(&data->info->m[PSC_CURRENT_IN], rimon);
   479		tps25990_set_m(&data->info->m[PSC_POWER], rimon);
   480	
   481		return pmbus_do_probe(client, data->info);
   482	}
   483	

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

  parent reply	other threads:[~2026-02-12 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-12  8:44 [PATCH v1 0/3] Add TI TPS1689 pmbus eFuse Stoyan Bogdanov
2026-02-12  8:45 ` [PATCH v1 1/3] hwmon: (pmbus/tps25990): Rework TPS25990 non standatd direct conversion Stoyan Bogdanov
2026-02-12 14:03   ` kernel test robot
2026-02-12 14:55   ` kernel test robot [this message]
2026-02-12  8:45 ` [PATCH v1 2/3] dt-bindings: hwmon: pmbus/tps1689: Add TPS1689 support Stoyan Bogdanov
2026-02-12 12:06   ` Krzysztof Kozlowski
2026-02-12  8:45 ` [PATCH v1 3/3] hwmon: (pmbus/tps1689): " Stoyan Bogdanov

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=202602122220.QLj7Hqb7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=sbogdanov@baylibre.com \
    --cc=skhan@linuxfoundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox