Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andreas Kemnade <andreas@kemnade.info>,
	Lee Jones <lee@kernel.org>, Daniel Thompson <danielt@kernel.org>,
	Jingoo Han <jingoohan1@gmail.com>,
	Pavel Machek <pavel@kernel.org>,
	Griffin Kroah-Hartman <griffin@kroah.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Helge Deller <deller@gmx.de>,
	Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Russell King <linux@armlinux.org.uk>
Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org,
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	Andreas Kemnade <andreas@kemnade.info>
Subject: Re: [PATCH 2/4] video: backlight: Add Awinic AW99703
Date: Tue, 1 Dec 2026 14:35:06 +0800	[thread overview]
Message-ID: <20261201142448.WLRU9hnS-lkp@intel.com> (raw)
In-Reply-To: <20261130-bl-aw99703-upstr-v1-2-986a15505ad7@kemnade.info>

Hi Andreas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f]

url:    https://github.com/intel-lab-lkp/linux/commits/Andreas-Kemnade/dt-bindings-leds-backlight-Add-Awinic-AW99703-backlight/20261130-200807
base:   b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
patch link:    https://lore.kernel.org/r/20261130-bl-aw99703-upstr-v1-2-986a15505ad7%40kemnade.info
patch subject: [PATCH 2/4] video: backlight: Add Awinic AW99703
config: sparc-randconfig-1000-20261201 (https://download.01.org/0day-ci/archive/20261201/20261201142448.WLRU9hnS-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/20261201/20261201142448.WLRU9hnS-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/20261201142448.WLRU9hnS-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/video/backlight/aw99703.c:419:12: warning: 'aw99703_runtime_resume' defined but not used [-Wunused-function]
    static int aw99703_runtime_resume(struct device *dev)
               ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/video/backlight/aw99703.c:399:12: warning: 'aw99703_runtime_suspend' defined but not used [-Wunused-function]
    static int aw99703_runtime_suspend(struct device *dev)
               ^~~~~~~~~~~~~~~~~~~~~~~


vim +/aw99703_runtime_resume +419 drivers/video/backlight/aw99703.c

   398	
 > 399	static int aw99703_runtime_suspend(struct device *dev)
   400	{
   401		struct aw99703_data *drvdata = dev_get_drvdata(dev);
   402		int ret;
   403	
   404		aw99703_set_work_mode(drvdata, 0);
   405	
   406		ret = gpiod_set_value_cansleep(drvdata->hwen_gpio, 0);
   407		if (ret < 0)
   408			return ret;
   409	
   410		ret = regulator_disable(drvdata->vin);
   411		if (ret < 0) {
   412			ret = gpiod_set_value_cansleep(drvdata->hwen_gpio, 1);
   413			return ret;
   414		}
   415	
   416		return 0;
   417	}
   418	
 > 419	static int aw99703_runtime_resume(struct device *dev)
   420	{
   421		struct aw99703_data *drvdata = dev_get_drvdata(dev);
   422		int ret;
   423	
   424		ret = regulator_enable(drvdata->vin);
   425		if (ret < 0)
   426			return ret;
   427	
   428		ret = gpiod_set_value_cansleep(drvdata->hwen_gpio, 1);
   429		if (ret < 0) {
   430			ret = regulator_disable(drvdata->vin);
   431			return ret;
   432		}
   433	
   434		usleep_range(250, 1000);
   435	
   436		aw99703_backlight_init(drvdata);
   437		aw99703_set_brightness(drvdata, drvdata->brightness);
   438		return 0;
   439	}
   440	

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


  reply	other threads:[~2026-12-01  6:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 19:08 [PATCH 0/4] video: backlight: Backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:08 ` [PATCH 1/4] dt-bindings: leds: backlight: Add Awinic AW99703 backlight Andreas Kemnade
2026-11-30 19:08 ` [PATCH 2/4] video: backlight: Add Awinic AW99703 Andreas Kemnade
2026-12-01  6:35   ` kernel test robot [this message]
2026-11-30 19:08 ` [PATCH 3/4] ARM: dts: imx: Add backlight for Kobo Clara 2e Andreas Kemnade
2026-11-30 19:08 ` [PATCH 4/4] arm: mach-imx: enable shared gpios Andreas Kemnade

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=20261201142448.WLRU9hnS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Frank.Li@nxp.com \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=danielt@kernel.org \
    --cc=deller@gmx.de \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=griffin@kroah.com \
    --cc=imx@lists.linux.dev \
    --cc=jingoohan1@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzk@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pavel@kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    /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