From: kernel test robot <lkp@intel.com>
To: "Ariana Lazar" <ariana.lazar@microchip.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Guenter Roeck" <linux@roeck-us.net>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hwmon@vger.kernel.org,
Ariana Lazar <ariana.lazar@microchip.com>
Subject: Re: [PATCH v4 3/3] iio: adc: add support for PAC1711
Date: Fri, 9 Oct 2026 00:46:35 +0800 [thread overview]
Message-ID: <202610090029.8WKWgYLF-lkp@intel.com> (raw)
In-Reply-To: <20261007-pac1711-v4-3-6ef34d7a7947@microchip.com>
Hi Ariana,
kernel test robot noticed the following build warnings:
[auto build test WARNING on cee9395acd8043be0644b25c34bfa86623f2b935]
url: https://github.com/intel-lab-lkp/linux/commits/Ariana-Lazar/iio-core-add-IIO_CHARGE-channel-type/20261007-174153
base: cee9395acd8043be0644b25c34bfa86623f2b935
patch link: https://lore.kernel.org/r/20261007-pac1711-v4-3-6ef34d7a7947%40microchip.com
patch subject: [PATCH v4 3/3] iio: adc: add support for PAC1711
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20261009/202610090029.8WKWgYLF-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261009/202610090029.8WKWgYLF-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/202610090029.8WKWgYLF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iio/adc/pac1711.c:134:51: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073667551616' to '-42000000' [-Woverflow]
134 | [PAC1711_FULL_RANGE_BIPOLAR] = { -PAC1711_VBUS_FSR_UV, PAC1711_VBUS_FSR_UV },
| ^
drivers/iio/adc/pac1711.c:135:51: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073688551616' to '-21000000' [-Woverflow]
135 | [PAC1711_HALF_RANGE_BIPOLAR] = { -PAC1711_VBUS_FSR_HALF_UV,
| ^
drivers/iio/adc/pac1711.c:140:51: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073700551616' to '-9000000' [-Woverflow]
140 | [PAC1711_FULL_RANGE_BIPOLAR] = { -PAC1721_VBUS_FSR_UV, PAC1721_VBUS_FSR_UV },
| ^
drivers/iio/adc/pac1711.c:141:51: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073705051616' to '-4500000' [-Woverflow]
141 | [PAC1711_HALF_RANGE_BIPOLAR] = { -PAC1721_VBUS_FSR_HALF_UV,
| ^
drivers/iio/adc/pac1711.c:148:42: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709451616' to '-100000' [-Woverflow]
148 | [PAC1711_FULL_RANGE_BIPOLAR] = { -PAC1711_VSENSE_FSR_UV, PAC1711_VSENSE_FSR_UV },
| ^
drivers/iio/adc/pac1711.c:149:42: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709501616' to '-50000' [-Woverflow]
149 | [PAC1711_HALF_RANGE_BIPOLAR] = { -PAC1711_VSENSE_FSR_HALF_UV, PAC1711_VSENSE_FSR_HALF_UV },
| ^
vim +134 drivers/iio/adc/pac1711.c
130
131 static const int pac1711_vbus_range_tbl[2][3][2] = {
132 [PAC1711_VOLTAGE_RANGE_IDX] = {
133 [PAC1711_FULL_RANGE_UNIPOLAR] = { 0, PAC1711_VBUS_FSR_UV },
> 134 [PAC1711_FULL_RANGE_BIPOLAR] = { -PAC1711_VBUS_FSR_UV, PAC1711_VBUS_FSR_UV },
135 [PAC1711_HALF_RANGE_BIPOLAR] = { -PAC1711_VBUS_FSR_HALF_UV,
136 PAC1711_VBUS_FSR_HALF_UV },
137 },
138 [PAC1721_VOLTAGE_RANGE_IDX] = {
139 [PAC1711_FULL_RANGE_UNIPOLAR] = { 0, PAC1721_VBUS_FSR_UV },
140 [PAC1711_FULL_RANGE_BIPOLAR] = { -PAC1721_VBUS_FSR_UV, PAC1721_VBUS_FSR_UV },
141 [PAC1711_HALF_RANGE_BIPOLAR] = { -PAC1721_VBUS_FSR_HALF_UV,
142 PAC1721_VBUS_FSR_HALF_UV },
143 },
144 };
145
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-10-08 16:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 14:41 [PATCH v4 0/3] Add support for Microchip PAC1711 Power Monitor Ariana Lazar
2026-10-07 14:41 ` [PATCH v4 1/3] iio: core: add IIO_CHARGE channel type Ariana Lazar
2026-10-07 14:41 ` [PATCH v4 2/3] dt-bindings: iio: adc: add support for PAC1711 Ariana Lazar
2026-10-07 20:47 ` Rob Herring (Arm)
2026-10-07 14:41 ` [PATCH v4 3/3] " Ariana Lazar
2026-10-08 16:46 ` kernel test robot [this message]
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=202610090029.8WKWgYLF-lkp@intel.com \
--to=lkp@intel.com \
--cc=andy@kernel.org \
--cc=ariana.lazar@microchip.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=nuno.sa@analog.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®