mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids'
@ 2020-09-27  8:37 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-27  8:37 UTC (permalink / raw)
  To: Alexandru Ardelean
  Cc: kbuild-all, clang-built-linux, linux-kernel, Jonathan Cameron

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

Hi Alexandru,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a1bffa48745afbb54cb4f873bba783b2ae8be042
commit: 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
date:   4 months ago
config: x86_64-randconfig-r033-20200927 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a83eb048cb9a75da7a07a9d5318bbdbf54885c87)
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=4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
        # 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/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id at91_adc_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/at91_adc_dt_ids +1439 drivers/iio/adc/at91_adc.c

e1811f97ba985fe Josh Wu           2013-08-27  1438  
e364185f3ed2ecc Maxime Ripard     2012-05-11 @1439  static const struct of_device_id at91_adc_dt_ids[] = {
e1811f97ba985fe Josh Wu           2013-08-27  1440  	{ .compatible = "atmel,at91sam9260-adc", .data = &at91sam9260_caps },
65b1fdbac9e39d9 Alexandre Belloni 2014-04-15  1441  	{ .compatible = "atmel,at91sam9rl-adc", .data = &at91sam9rl_caps },
e1811f97ba985fe Josh Wu           2013-08-27  1442  	{ .compatible = "atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
e1811f97ba985fe Josh Wu           2013-08-27  1443  	{ .compatible = "atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
e364185f3ed2ecc Maxime Ripard     2012-05-11  1444  	{},
e364185f3ed2ecc Maxime Ripard     2012-05-11  1445  };
e364185f3ed2ecc Maxime Ripard     2012-05-11  1446  MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
467a44b0372d826 Alexandre Belloni 2014-05-03  1447  

:::::: The code at line 1439 was first introduced by commit
:::::: e364185f3ed2ecc0a4dbfe2507f20fd5db76c966 IIO: AT91: Add DT support to at91_adc driver

:::::: TO: Maxime Ripard <maxime.ripard@free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.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: 43773 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread
* drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids'
@ 2020-11-18  7:53 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-11-18  7:53 UTC (permalink / raw)
  To: Alexandru Ardelean
  Cc: kbuild-all, clang-built-linux, linux-kernel, Jonathan Cameron

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

Hi Alexandru,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0fa8ee0d9ab95c9350b8b84574824d9a384a9f7d
commit: 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
date:   5 months ago
config: x86_64-randconfig-a011-20201118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2613fb2f0f53691dd0211895afbb9413457fca7)
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=4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
        # 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/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id at91_adc_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/at91_adc_dt_ids +1439 drivers/iio/adc/at91_adc.c

e1811f97ba985fe Josh Wu           2013-08-27  1438  
e364185f3ed2ecc Maxime Ripard     2012-05-11 @1439  static const struct of_device_id at91_adc_dt_ids[] = {
e1811f97ba985fe Josh Wu           2013-08-27  1440  	{ .compatible = "atmel,at91sam9260-adc", .data = &at91sam9260_caps },
65b1fdbac9e39d9 Alexandre Belloni 2014-04-15  1441  	{ .compatible = "atmel,at91sam9rl-adc", .data = &at91sam9rl_caps },
e1811f97ba985fe Josh Wu           2013-08-27  1442  	{ .compatible = "atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
e1811f97ba985fe Josh Wu           2013-08-27  1443  	{ .compatible = "atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
e364185f3ed2ecc Maxime Ripard     2012-05-11  1444  	{},
e364185f3ed2ecc Maxime Ripard     2012-05-11  1445  };
e364185f3ed2ecc Maxime Ripard     2012-05-11  1446  MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
467a44b0372d826 Alexandre Belloni 2014-05-03  1447  

:::::: The code at line 1439 was first introduced by commit
:::::: e364185f3ed2ecc0a4dbfe2507f20fd5db76c966 IIO: AT91: Add DT support to at91_adc driver

:::::: TO: Maxime Ripard <maxime.ripard@free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.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: 36692 bytes --]

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

end of thread, other threads:[~2020-11-18  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27  8:37 drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids' kernel test robot
2020-11-18  7:53 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

all inboxes | Powered by JetHome®