From: kernel test robot <lkp@intel.com>
To: "Amit Sunil Dhamne via B4 Relay"
<devnull+amitsd.google.com@kernel.org>,
"Sebastian Reichel" <sre@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"André Draszik" <andre.draszik@linaro.org>,
"Lee Jones" <lee@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Badhri Jagan Sridharan" <badhri@google.com>,
"Heikki Krogerus" <heikki.krogerus@linux.intel.com>,
"Peter Griffin" <peter.griffin@linaro.org>,
"Tudor Ambarus" <tudor.ambarus@linaro.org>,
"Alim Akhtar" <alim.akhtar@samsung.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org,
RD Babiera <rdbabiera@google.com>, Kyle Tso <kyletso@google.com>,
Amit Sunil Dhamne <amitsd@google.com>
Subject: Re: [PATCH v5 4/5] power: supply: max77759: add charger driver
Date: Wed, 4 Feb 2026 13:34:09 +0800 [thread overview]
Message-ID: <202602041321.6ubHpkpR-lkp@intel.com> (raw)
In-Reply-To: <20260203-max77759-charger-v5-4-b50395376a5f@google.com>
Hi Amit,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8dfce8991b95d8625d0a1d2896e42f93b9d7f68d]
url: https://github.com/intel-lab-lkp/linux/commits/Amit-Sunil-Dhamne-via-B4-Relay/dt-bindings-mfd-maxim-max77759-reference-power-supply-schema-and-add-regulator-property/20260204-065326
base: 8dfce8991b95d8625d0a1d2896e42f93b9d7f68d
patch link: https://lore.kernel.org/r/20260203-max77759-charger-v5-4-b50395376a5f%40google.com
patch subject: [PATCH v5 4/5] power: supply: max77759: add charger driver
config: sparc-randconfig-001-20260204 (https://download.01.org/0day-ci/archive/20260204/202602041321.6ubHpkpR-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260204/202602041321.6ubHpkpR-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/202602041321.6ubHpkpR-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/power/supply/max77759_charger.c: In function 'set_fast_charge_current_limit':
>> drivers/power/supply/max77759_charger.c:301:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^~~
drivers/power/supply/max77759_charger.c: In function 'set_float_voltage_limit':
drivers/power/supply/max77759_charger.c:343:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret;
^~~
vim +/ret +301 drivers/power/supply/max77759_charger.c
295
296 static int set_fast_charge_current_limit(struct max77759_charger *chg,
297 u32 cc_max_ua)
298 {
299 bool found;
300 u32 regval;
> 301 int ret;
302
303 ret = linear_range_get_selector_high(&chg_ranges[MAX77759_CHGR_RANGE_CHGCC],
304 cc_max_ua, ®val, &found);
305 if (!found)
306 return -EINVAL;
307
308 return regmap_update_bits(chg->regmap, MAX77759_CHGR_REG_CHG_CNFG_02,
309 MAX77759_CHGR_REG_CHG_CNFG_02_CHGCC, regval);
310 }
311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-04 5:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 22:50 [PATCH v5 0/5] Introduce MAX77759 " Amit Sunil Dhamne via B4 Relay
2026-02-03 22:50 ` [PATCH v5 1/5] dt-bindings: mfd: maxim,max77759: reference power-supply schema and add regulator property Amit Sunil Dhamne via B4 Relay
2026-02-03 22:50 ` [PATCH v5 2/5] dt-bindings: usb: maxim,max33359: Add supply property for vbus Amit Sunil Dhamne via B4 Relay
2026-02-03 22:50 ` [PATCH v5 3/5] mfd: max77759: add register bitmasks and modify irq configs for charger Amit Sunil Dhamne via B4 Relay
2026-02-04 6:46 ` André Draszik
2026-02-03 22:50 ` [PATCH v5 4/5] power: supply: max77759: add charger driver Amit Sunil Dhamne via B4 Relay
2026-02-04 5:34 ` kernel test robot [this message]
2026-02-04 12:49 ` André Draszik
2026-02-10 0:42 ` Amit Sunil Dhamne
2026-02-10 6:39 ` André Draszik
2026-02-03 22:50 ` [PATCH v5 5/5] usb: typec: tcpm/tcpci_maxim: deprecate WAR for setting charger mode Amit Sunil Dhamne via B4 Relay
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=202602041321.6ubHpkpR-lkp@intel.com \
--to=lkp@intel.com \
--cc=alim.akhtar@samsung.com \
--cc=amitsd@google.com \
--cc=andre.draszik@linaro.org \
--cc=badhri@google.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=devnull+amitsd.google.com@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=krzk@kernel.org \
--cc=kyletso@google.com \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peter.griffin@linaro.org \
--cc=rdbabiera@google.com \
--cc=robh@kernel.org \
--cc=sre@kernel.org \
--cc=tudor.ambarus@linaro.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®