public inbox for linux-kernel@vger.kernel.org
 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
Subject: drivers/memory/ti-emif-pm.c:238:34: warning: unused variable 'ti_emif_of_match'
Date: Sat, 6 Feb 2021 07:08:02 +0800	[thread overview]
Message-ID: <202102060752.hdy269ez-lkp@intel.com> (raw)

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   61556703b610a104de324e4f061dc6cf7b218b46
commit: ea0c0ad6b6eb36726088991d97a55b99cae456d0 memory: Enable compile testing for most of the drivers
date:   6 months ago
config: arm-randconfig-r016-20210206 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ea0c0ad6b6eb36726088991d97a55b99cae456d0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ea0c0ad6b6eb36726088991d97a55b99cae456d0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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/memory/ti-emif-pm.c:238:34: warning: unused variable 'ti_emif_of_match' [-Wunused-const-variable]
   static const struct of_device_id ti_emif_of_match[] = {
                                    ^
   1 warning generated.


vim +/ti_emif_of_match +238 drivers/memory/ti-emif-pm.c

8428e5ad750d48 Dave Gerlach 2015-06-17  237  
8428e5ad750d48 Dave Gerlach 2015-06-17 @238  static const struct of_device_id ti_emif_of_match[] = {
8428e5ad750d48 Dave Gerlach 2015-06-17  239  	{ .compatible = "ti,emif-am3352", .data =
8428e5ad750d48 Dave Gerlach 2015-06-17  240  					(void *)EMIF_SRAM_AM33_REG_LAYOUT, },
8428e5ad750d48 Dave Gerlach 2015-06-17  241  	{ .compatible = "ti,emif-am4372", .data =
8428e5ad750d48 Dave Gerlach 2015-06-17  242  					(void *)EMIF_SRAM_AM43_REG_LAYOUT, },
8428e5ad750d48 Dave Gerlach 2015-06-17  243  	{},
8428e5ad750d48 Dave Gerlach 2015-06-17  244  };
8428e5ad750d48 Dave Gerlach 2015-06-17  245  MODULE_DEVICE_TABLE(of, ti_emif_of_match);
8428e5ad750d48 Dave Gerlach 2015-06-17  246  

:::::: The code at line 238 was first introduced by commit
:::::: 8428e5ad750d482bdf077e81a1e9357332b3278c memory: ti-emif-sram: introduce relocatable suspend/resume handlers

:::::: TO: Dave Gerlach <d-gerlach@ti.com>
:::::: CC: Santosh Shilimkar <santosh.shilimkar@oracle.com>

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

                 reply	other threads:[~2021-02-06  4: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=202102060752.hdy269ez-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --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