From: kernel test robot <lkp@intel.com>
To: Tzung-Bi Shih <tzungbi@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Matthias Kaehlcke <mka@chromium.org>
Subject: [linux-next:master 1595/10906] drivers/platform/chrome/cros_kbd_led_backlight.c:183:42: warning: unused variable 'keyboard_led_drvdata_ec_pwm'
Date: Sun, 17 Jul 2022 05:17:23 +0800 [thread overview]
Message-ID: <202207170538.MR39dw8m-lkp@intel.com> (raw)
Hi Tzung-Bi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6014cfa5bf32cf8c5c58b3cfd5ee0e1542c8a825
commit: 40f58143745eaabc68ef44b068642ca3b38d23a6 [1595/10906] platform/chrome: cros_kbd_led_backlight: support EC PWM backend
config: s390-randconfig-r023-20220717 (https://download.01.org/0day-ci/archive/20220717/202207170538.MR39dw8m-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 07022e6cf9b5b3baa642be53d0b3c3f1c403dbfd)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=40f58143745eaabc68ef44b068642ca3b38d23a6
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 40f58143745eaabc68ef44b068642ca3b38d23a6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/iio/light/ drivers/platform/chrome/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/platform/chrome/cros_kbd_led_backlight.c:183:42: warning: unused variable 'keyboard_led_drvdata_ec_pwm' [-Wunused-const-variable]
static const struct keyboard_led_drvdata keyboard_led_drvdata_ec_pwm = {
^
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DRM_DP_AUX_BUS
Depends on HAS_IOMEM && DRM && OF
Selected by
- DRM_MSM && HAS_IOMEM && DRM && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST && COMMON_CLK && IOMMU_SUPPORT && (QCOM_OCMEM || QCOM_OCMEM && (QCOM_LLCC || QCOM_LLCC && (QCOM_COMMAND_DB || QCOM_COMMAND_DB
vim +/keyboard_led_drvdata_ec_pwm +183 drivers/platform/chrome/cros_kbd_led_backlight.c
182
> 183 static const struct keyboard_led_drvdata keyboard_led_drvdata_ec_pwm = {
184 .init = keyboard_led_init_ec_pwm,
185 .brightness_set_blocking = keyboard_led_set_brightness_ec_pwm,
186 .brightness_get = keyboard_led_get_brightness_ec_pwm,
187 .max_brightness = KEYBOARD_BACKLIGHT_MAX,
188 };
189
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-07-16 21:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202207170538.MR39dw8m-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=mka@chromium.org \
--cc=tzungbi@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