From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Lee Jones" <lee@kernel.org>,
"Daniel Thompson" <daniel.thompson@linaro.org>,
"Jingoo Han" <jingoohan1@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev,
Aisheng Dong <aisheng.dong@nxp.com>,
linux-pwm@vger.kernel.org, linux-fbdev@vger.kernel.org,
Helge Deller <deller@gmx.de>,
dri-devel@lists.freedesktop.org,
Thierry Reding <thierry.reding@gmail.com>,
kernel@pengutronix.de
Subject: Re: [PATCH v3] backlight: pwm_bl: Disable PWM on shutdown and suspend
Date: Sat, 30 Sep 2023 12:48:52 +0800 [thread overview]
Message-ID: <202309301206.OT7dbPq7-lkp@intel.com> (raw)
In-Reply-To: <20230926150116.2124384-1-u.kleine-koenig@pengutronix.de>
Hi Uwe,
kernel test robot noticed the following build errors:
[auto build test ERROR on 8fff9184d1b5810dca5dd1a02726d4f844af88fc]
url: https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/backlight-pwm_bl-Disable-PWM-on-shutdown-and-suspend/20230926-230323
base: 8fff9184d1b5810dca5dd1a02726d4f844af88fc
patch link: https://lore.kernel.org/r/20230926150116.2124384-1-u.kleine-koenig%40pengutronix.de
patch subject: [PATCH v3] backlight: pwm_bl: Disable PWM on shutdown and suspend
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20230930/202309301206.OT7dbPq7-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230930/202309301206.OT7dbPq7-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/202309301206.OT7dbPq7-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/video/backlight/pwm_bl.c: In function 'pwm_backlight_remove':
>> drivers/video/backlight/pwm_bl.c:632:33: error: 'state' undeclared (first use in this function); did you mean 'statx'?
632 | pwm_get_state(pb->pwm, &state);
| ^~~~~
| statx
drivers/video/backlight/pwm_bl.c:632:33: note: each undeclared identifier is reported only once for each function it appears in
vim +632 drivers/video/backlight/pwm_bl.c
624
625 static void pwm_backlight_remove(struct platform_device *pdev)
626 {
627 struct backlight_device *bl = platform_get_drvdata(pdev);
628 struct pwm_bl_data *pb = bl_get_data(bl);
629
630 backlight_device_unregister(bl);
631 pwm_backlight_power_off(pb);
> 632 pwm_get_state(pb->pwm, &state);
633 state.duty_cycle = 0;
634 state.enabled = false;
635 pwm_apply_state(pb->pwm, &state);
636
637 if (pb->exit)
638 pb->exit(&pdev->dev);
639 }
640
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2023-09-30 4:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 15:01 [PATCH v3] backlight: pwm_bl: Disable PWM on shutdown and suspend Uwe Kleine-König
2023-09-30 4:48 ` 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=202309301206.OT7dbPq7-lkp@intel.com \
--to=lkp@intel.com \
--cc=aisheng.dong@nxp.com \
--cc=daniel.thompson@linaro.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=kernel@pengutronix.de \
--cc=lee@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@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;
as well as URLs for NNTP newsgroup(s).