mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
	Leonard Crestez <leonard.crestez@nxp.com>
Subject: drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable 'imx8_soc_match'
Date: Mon, 15 Jun 2020 14:22:33 +0800	[thread overview]
Message-ID: <20200615062233.GG12456@shao2-debian> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   08bf1a27c4c354b853fd81a79e953525bbcc8506
commit: fc40200ebf82fae3e40c4e88246496644edafe66 soc: imx: increase build coverage for imx8m soc driver
date:   3 months ago
:::::: branch date: 42 minutes ago
:::::: commit date: 3 months ago
config: x86_64-randconfig-a015-20200614 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project c669a1ed6386d57a75a602b53266466dae1e1d84)
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
        git checkout fc40200ebf82fae3e40c4e88246496644edafe66
        # 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 >>, old ones prefixed by <<):

>> drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable 'imx8_soc_match' [-Wunused-const-variable]
static const struct of_device_id imx8_soc_match[] = {
^
1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc40200ebf82fae3e40c4e88246496644edafe66
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout fc40200ebf82fae3e40c4e88246496644edafe66
vim +/imx8_soc_match +150 drivers/soc/imx/soc-imx8m.c

18f662a738629e drivers/soc/imx/soc-imx8.c Anson Huang     2019-12-26  149  
a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa       2019-03-22 @150  static const struct of_device_id imx8_soc_match[] = {
a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa       2019-03-22  151  	{ .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, },
2b14b802adac2d drivers/soc/imx/soc-imx8.c Leonard Crestez 2019-05-13  152  	{ .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, },
db10496c0064ba drivers/soc/imx/soc-imx8.c Anson Huang     2019-06-19  153  	{ .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, },
18f662a738629e drivers/soc/imx/soc-imx8.c Anson Huang     2019-12-26  154  	{ .compatible = "fsl,imx8mp", .data = &imx8mp_soc_data, },
a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa       2019-03-22  155  	{ }
a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa       2019-03-22  156  };
a7e26f356ca129 drivers/soc/imx/soc-imx8.c Abel Vesa       2019-03-22  157  

:::::: The code at line 150 was first introduced by commit
:::::: a7e26f356ca12906a164d83c9e9f8527ee7da022 soc: imx: Add generic i.MX8 SoC driver

:::::: TO: Abel Vesa <abel.vesa@nxp.com>
:::::: CC: Shawn Guo <shawnguo@kernel.org>

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

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org

                 reply	other threads:[~2020-06-15  6:28 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=20200615062233.GG12456@shao2-debian \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=leonard.crestez@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peng.fan@nxp.com \
    --cc=shawnguo@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®