mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/rtc/rtc-meson.c:388:34: warning: unused variable 'meson_rtc_dt_match'
@ 2021-01-09 18:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-09 18:59 UTC (permalink / raw)
  To: Martin Blumenstingl
  Cc: kbuild-all, clang-built-linux, linux-kernel, Alexandre Belloni,
	Ben Dooks

[-- Attachment #1: Type: text/plain, Size: 2450 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31647 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-09 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 18:59 drivers/rtc/rtc-meson.c:388:34: warning: unused variable 'meson_rtc_dt_match' 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

all inboxes | Powered by JetHome®