* [linux-next:master 1595/10906] drivers/platform/chrome/cros_kbd_led_backlight.c:183:42: warning: unused variable 'keyboard_led_drvdata_ec_pwm'
@ 2022-07-16 21:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-16 21:17 UTC (permalink / raw)
To: Tzung-Bi Shih
Cc: llvm, kbuild-all, Linux Memory Management List, Matthias Kaehlcke
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-16 21:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16 21:17 [linux-next:master 1595/10906] drivers/platform/chrome/cros_kbd_led_backlight.c:183:42: warning: unused variable 'keyboard_led_drvdata_ec_pwm' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox