linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/memory/ti-emif-pm.c:238:34: warning: unused variable 'ti_emif_of_match'
@ 2021-02-05 23:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-05 23:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: kbuild-all, clang-built-linux, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-06  4:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 23:08 drivers/memory/ti-emif-pm.c:238:34: warning: unused variable 'ti_emif_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).