All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match'
@ 2021-05-07  5:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-07  5:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: kbuild-all, clang-built-linux, linux-kernel, Dinh Nguyen

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e48661230cc35b3d0f4367eddfc19f86463ab917
commit: 4a9a1a5602d82c079325bf37466af0b67d6c0b9e arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA
date:   6 weeks ago
config: arm64-randconfig-r016-20210507 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match' [-Wunused-const-variable]
   static const struct of_device_id a10sr_reset_of_match[] = {
                                    ^
   1 warning generated.


vim +/a10sr_reset_of_match +111 drivers/reset/reset-a10sr.c

627006820268f9 Thor Thayer 2017-02-22  110  
627006820268f9 Thor Thayer 2017-02-22 @111  static const struct of_device_id a10sr_reset_of_match[] = {
627006820268f9 Thor Thayer 2017-02-22  112  	{ .compatible = "altr,a10sr-reset" },
627006820268f9 Thor Thayer 2017-02-22  113  	{ },
627006820268f9 Thor Thayer 2017-02-22  114  };
627006820268f9 Thor Thayer 2017-02-22  115  MODULE_DEVICE_TABLE(of, a10sr_reset_of_match);
627006820268f9 Thor Thayer 2017-02-22  116  

:::::: The code at line 111 was first introduced by commit
:::::: 627006820268f92b62b2bde486c76ccd0fadb671 reset: Add Altera Arria10 SR Reset Controller

:::::: TO: Thor Thayer <thor.thayer@linux.intel.com>
:::::: CC: Philipp Zabel <p.zabel@pengutronix.de>

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

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

* drivers/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match'
@ 2021-05-07  5:14 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-07  5:14 UTC (permalink / raw)
  To: kbuild-all

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

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e48661230cc35b3d0f4367eddfc19f86463ab917
commit: 4a9a1a5602d82c079325bf37466af0b67d6c0b9e arm64: socfpga: merge Agilex and N5X into ARCH_INTEL_SOCFPGA
date:   6 weeks ago
config: arm64-randconfig-r016-20210507 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a3a8a1a15b524d91b5308db68e9d293b34cd88dd)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4a9a1a5602d82c079325bf37466af0b67d6c0b9e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match' [-Wunused-const-variable]
   static const struct of_device_id a10sr_reset_of_match[] = {
                                    ^
   1 warning generated.


vim +/a10sr_reset_of_match +111 drivers/reset/reset-a10sr.c

627006820268f9 Thor Thayer 2017-02-22  110  
627006820268f9 Thor Thayer 2017-02-22 @111  static const struct of_device_id a10sr_reset_of_match[] = {
627006820268f9 Thor Thayer 2017-02-22  112  	{ .compatible = "altr,a10sr-reset" },
627006820268f9 Thor Thayer 2017-02-22  113  	{ },
627006820268f9 Thor Thayer 2017-02-22  114  };
627006820268f9 Thor Thayer 2017-02-22  115  MODULE_DEVICE_TABLE(of, a10sr_reset_of_match);
627006820268f9 Thor Thayer 2017-02-22  116  

:::::: The code at line 111 was first introduced by commit
:::::: 627006820268f92b62b2bde486c76ccd0fadb671 reset: Add Altera Arria10 SR Reset Controller

:::::: TO: Thor Thayer <thor.thayer@linux.intel.com>
:::::: CC: Philipp Zabel <p.zabel@pengutronix.de>

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

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

end of thread, other threads:[~2021-05-07  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07  5:14 drivers/reset/reset-a10sr.c:111:34: warning: unused variable 'a10sr_reset_of_match' kernel test robot
2021-05-07  5:14 ` 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.