mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Ben Dooks <ben.dooks@codethink.co.uk>
Subject: drivers/rtc/rtc-meson.c:388:34: warning: unused variable 'meson_rtc_dt_match'
Date: Sun, 10 Jan 2021 02:59:36 +0800	[thread overview]
Message-ID: <202101100228.7gzSCHWx-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-01-09 19:01 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=202101100228.7gzSCHWx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    /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

all inboxes | Powered by JetHome®