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 <l...@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.rip...@free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gre...@linuxfoundation.org>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to