Messages in this thread |  | | Date | Sun, 10 Jan 2021 02:59:36 +0800 | From | kernel test robot <> | Subject | drivers/rtc/rtc-meson.c:388:34: warning: unused variable 'meson_rtc_dt_match' |
| |
Hi Martin,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 996e435fd401de35df62ac943ab9402cfe85c430 commit: d8fe6009aa3ecbeeab3a4ec1a8bce68959a885be rtc: support for the Amlogic Meson RTC date: 1 year, 11 months ago config: x86_64-randconfig-a006-20210110 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36) 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 x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d8fe6009aa3ecbeeab3a4ec1a8bce68959a885be git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout d8fe6009aa3ecbeeab3a4ec1a8bce68959a885be # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/rtc/rtc-meson.c:388:34: warning: unused variable 'meson_rtc_dt_match' [-Wunused-const-variable] static const struct of_device_id meson_rtc_dt_match[] = { ^ 1 warning generated.
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE Depends on HAS_IOMEM && BACKLIGHT_LCD_SUPPORT Selected by - ACPI_CMPC && X86 && X86_PLATFORM_DEVICES && ACPI && INPUT && (RFKILL || RFKILL - SAMSUNG_Q10 && X86 && X86_PLATFORM_DEVICES && ACPI
vim +/meson_rtc_dt_match +388 drivers/rtc/rtc-meson.c
387 > 388 static const struct of_device_id meson_rtc_dt_match[] = { 389 { .compatible = "amlogic,meson6-rtc", }, 390 { .compatible = "amlogic,meson8-rtc", }, 391 { .compatible = "amlogic,meson8b-rtc", }, 392 { .compatible = "amlogic,meson8m2-rtc", }, 393 { }, 394 }; 395 MODULE_DEVICE_TABLE(of, meson_rtc_dt_match); 396
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] |  |