From: kernel test robot <lkp@intel.com>
To: Edelweise Escala <edelweise.escala@analog.com>,
Lee Jones <lee@kernel.org>, Pavel Machek <pavel@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-leds@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Edelweise Escala <edelweise.escala@analog.com>
Subject: Re: [PATCH v2 2/2] leds: ltc3220: Add Support for LTC3220 18 channel LED Driver
Date: Tue, 13 Jan 2026 00:38:18 +0800 [thread overview]
Message-ID: <202601122335.DZgiMBky-lkp@intel.com> (raw)
In-Reply-To: <20260112-ltc3220-driver-v2-2-d043058fc4df@analog.com>
Hi Edelweise,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8856d7fe1758937ac528770f552ec58c388c255b]
url: https://github.com/intel-lab-lkp/linux/commits/Edelweise-Escala/dt-bindings-leds-Add-LTC3220-18-channel-LED-Driver/20260112-170223
base: 8856d7fe1758937ac528770f552ec58c388c255b
patch link: https://lore.kernel.org/r/20260112-ltc3220-driver-v2-2-d043058fc4df%40analog.com
patch subject: [PATCH v2 2/2] leds: ltc3220: Add Support for LTC3220 18 channel LED Driver
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260112/202601122335.DZgiMBky-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260112/202601122335.DZgiMBky-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/202601122335.DZgiMBky-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/leds/leds-ltc3220.c:348:12: warning: 'ltc3220_resume' defined but not used [-Wunused-function]
348 | static int ltc3220_resume(struct device *dev)
| ^~~~~~~~~~~~~~
>> drivers/leds/leds-ltc3220.c:340:12: warning: 'ltc3220_suspend' defined but not used [-Wunused-function]
340 | static int ltc3220_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~
vim +/ltc3220_resume +348 drivers/leds/leds-ltc3220.c
339
> 340 static int ltc3220_suspend(struct device *dev)
341 {
342 struct i2c_client *client = to_i2c_client(dev);
343 struct ltc3220_state *ltc3220_state = i2c_get_clientdata(client);
344
345 return ltc3220_shutdown(ltc3220_state);
346 }
347
> 348 static int ltc3220_resume(struct device *dev)
349 {
350 struct i2c_client *client = to_i2c_client(dev);
351 struct ltc3220_state *ltc3220_state = i2c_get_clientdata(client);
352
353 return ltc3220_resume_from_shutdown(ltc3220_state);
354 }
355
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-12 16:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-12 8:55 [PATCH v2 0/2] Add Support for LTC3220 18 Channel LED Driver V2 Edelweise Escala
2026-01-12 8:55 ` [PATCH v2 1/2] dt-bindings: leds: Add LTC3220 18 channel LED Driver Edelweise Escala
2026-01-13 8:06 ` Krzysztof Kozlowski
2026-01-14 0:16 ` Escala, Edelweise
2026-01-12 8:55 ` [PATCH v2 2/2] leds: ltc3220: Add Support for " Edelweise Escala
2026-01-12 16:38 ` kernel test robot [this message]
2026-01-13 8:02 ` [PATCH v2 0/2] Add Support for LTC3220 18 Channel LED Driver V2 Krzysztof Kozlowski
2026-01-13 8:12 ` Escala, Edelweise
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=202601122335.DZgiMBky-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=edelweise.escala@analog.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pavel@kernel.org \
--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 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.