mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Dinh Nguyen <dinguyen@kernel.org>
Subject: drivers/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match'
Date: Fri, 7 May 2021 13:14:16 +0800	[thread overview]
Message-ID: <202105071313.CPfJn4ca-lkp@intel.com> (raw)

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e48661230cc35b3d0f4367eddfc19f86463ab917
commit: 4a9a1a5602d82c079325bf37466af0b67d6c0b9e arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA
date:   6 weeks ago
config: arm64-randconfig-r016-20210507 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match' [-Wunused-const-variable]
   static const struct of_device_id a10sr_reset_of_match[] = {
                                    ^
   1 warning generated.


vim +/a10sr_reset_of_match +111 drivers/reset/reset-a10sr.c

627006820268f9 Thor Thayer 2017-02-22  110  
627006820268f9 Thor Thayer 2017-02-22 @111  static const struct of_device_id a10sr_reset_of_match[] = {
627006820268f9 Thor Thayer 2017-02-22  112  	{ .compatible = "altr,a10sr-reset" },
627006820268f9 Thor Thayer 2017-02-22  113  	{ },
627006820268f9 Thor Thayer 2017-02-22  114  };
627006820268f9 Thor Thayer 2017-02-22  115  MODULE_DEVICE_TABLE(of, a10sr_reset_of_match);
627006820268f9 Thor Thayer 2017-02-22  116  

:::::: The code at line 111 was first introduced by commit
:::::: 627006820268f92b62b2bde486c76ccd0fadb671 reset: Add Altera Arria10 SR Reset Controller

:::::: TO: Thor Thayer <thor.thayer@linux.intel.com>
:::::: CC: Philipp Zabel <p.zabel@pengutronix.de>

---
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: 41598 bytes --]

                 reply	other threads:[~2021-05-07  5:14 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=202105071313.CPfJn4ca-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=dinguyen@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®