All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match'
@ 2020-11-01 22:56 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-01 22:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: kbuild-all, clang-built-linux, linux-kernel, Ulf Hansson

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7b56fbd83e261484da43f04090bce07570bd117f
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
date:   8 weeks ago
config: x86_64-randconfig-a005-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c)
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=54d8454436a205682bd89d66d8d9eedbc8452d15
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 54d8454436a205682bd89d66d8d9eedbc8452d15
        # 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/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match' [-Wunused-const-variable]
   static const struct of_device_id meson_mmc_of_match[] = {
                                    ^
   1 warning generated.

vim +/meson_mmc_of_match +1252 drivers/mmc/host/meson-gx-mmc.c

df06981514d43f Nan Li       2018-04-03  1251  
51c5d8447bd71b Kevin Hilman 2016-10-19 @1252  static const struct of_device_id meson_mmc_of_match[] = {
df06981514d43f Nan Li       2018-04-03  1253  	{ .compatible = "amlogic,meson-gx-mmc",		.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1254  	{ .compatible = "amlogic,meson-gxbb-mmc", 	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1255  	{ .compatible = "amlogic,meson-gxl-mmc",	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1256  	{ .compatible = "amlogic,meson-gxm-mmc",	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1257  	{ .compatible = "amlogic,meson-axg-mmc",	.data = &meson_axg_data },
51c5d8447bd71b Kevin Hilman 2016-10-19  1258  	{}
51c5d8447bd71b Kevin Hilman 2016-10-19  1259  };
51c5d8447bd71b Kevin Hilman 2016-10-19  1260  MODULE_DEVICE_TABLE(of, meson_mmc_of_match);
51c5d8447bd71b Kevin Hilman 2016-10-19  1261  

:::::: The code at line 1252 was first introduced by commit
:::::: 51c5d8447bd71b7e539c19c46a03b73c0e91fa66 MMC: meson: initial support for GX platforms

:::::: TO: Kevin Hilman <khilman@baylibre.com>
:::::: CC: Ulf Hansson <ulf.hansson@linaro.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: 44183 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match'
@ 2020-11-01 22:56 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-01 22:56 UTC (permalink / raw)
  To: kbuild-all

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7b56fbd83e261484da43f04090bce07570bd117f
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
date:   8 weeks ago
config: x86_64-randconfig-a005-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c)
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=54d8454436a205682bd89d66d8d9eedbc8452d15
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 54d8454436a205682bd89d66d8d9eedbc8452d15
        # 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/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match' [-Wunused-const-variable]
   static const struct of_device_id meson_mmc_of_match[] = {
                                    ^
   1 warning generated.

vim +/meson_mmc_of_match +1252 drivers/mmc/host/meson-gx-mmc.c

df06981514d43f Nan Li       2018-04-03  1251  
51c5d8447bd71b Kevin Hilman 2016-10-19 @1252  static const struct of_device_id meson_mmc_of_match[] = {
df06981514d43f Nan Li       2018-04-03  1253  	{ .compatible = "amlogic,meson-gx-mmc",		.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1254  	{ .compatible = "amlogic,meson-gxbb-mmc", 	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1255  	{ .compatible = "amlogic,meson-gxl-mmc",	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1256  	{ .compatible = "amlogic,meson-gxm-mmc",	.data = &meson_gx_data },
df06981514d43f Nan Li       2018-04-03  1257  	{ .compatible = "amlogic,meson-axg-mmc",	.data = &meson_axg_data },
51c5d8447bd71b Kevin Hilman 2016-10-19  1258  	{}
51c5d8447bd71b Kevin Hilman 2016-10-19  1259  };
51c5d8447bd71b Kevin Hilman 2016-10-19  1260  MODULE_DEVICE_TABLE(of, meson_mmc_of_match);
51c5d8447bd71b Kevin Hilman 2016-10-19  1261  

:::::: The code at line 1252 was first introduced by commit
:::::: 51c5d8447bd71b7e539c19c46a03b73c0e91fa66 MMC: meson: initial support for GX platforms

:::::: TO: Kevin Hilman <khilman@baylibre.com>
:::::: CC: Ulf Hansson <ulf.hansson@linaro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 44183 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-01 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 22:56 drivers/mmc/host/meson-gx-mmc.c:1252:34: warning: unused variable 'meson_mmc_of_match' kernel test robot
2020-11-01 22:56 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.