public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Leonard Crestez <leonard.crestez@nxp.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Chanwoo Choi <cw00.choi@samsung.com>
Subject: drivers/devfreq/imx-bus.c:120:34: warning: unused variable 'imx_bus_of_match'
Date: Wed, 11 Nov 2020 10:43:06 +0800	[thread overview]
Message-ID: <202011111003.7cdcThv7-lkp@intel.com> (raw)

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

Hi Leonard,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   eccc876724927ff3b9ff91f36f7b6b159e948f0c
commit: 5173a9756c8df9c387e04e49da0c4061951bbfec PM / devfreq: Add generic imx bus scaling driver
date:   6 months ago
config: x86_64-randconfig-a001-20201111 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 4d81c8adb6ed9840257f6cb6b93f60856d422a15)
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=5173a9756c8df9c387e04e49da0c4061951bbfec
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 5173a9756c8df9c387e04e49da0c4061951bbfec
        # 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/devfreq/imx-bus.c:120:34: warning: unused variable 'imx_bus_of_match' [-Wunused-const-variable]
   static const struct of_device_id imx_bus_of_match[] = {
                                    ^
   1 warning generated.

vim +/imx_bus_of_match +120 drivers/devfreq/imx-bus.c

   119	
 > 120	static const struct of_device_id imx_bus_of_match[] = {
   121		{ .compatible = "fsl,imx8m-noc", },
   122		{ .compatible = "fsl,imx8m-nic", },
   123		{ /* sentinel */ },
   124	};
   125	MODULE_DEVICE_TABLE(of, imx_bus_of_match);
   126	

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

             reply	other threads:[~2020-11-11  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  2:43 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27  4:30 drivers/devfreq/imx-bus.c:120:34: warning: unused variable 'imx_bus_of_match' kernel test robot

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=202011111003.7cdcThv7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=cw00.choi@samsung.com \
    --cc=kbuild-all@lists.01.org \
    --cc=leonard.crestez@nxp.com \
    --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