All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match'
@ 2021-09-28  4:35 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-09-28  4:35 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: llvm, kbuild-all, linux-kernel, Lee Jones, Cristian Ciocaltea

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: c0d46b89ddeae419ee3ee8679fe6836119a83e14 mfd: Make symbol 'atc260x_i2c_of_match' static
date:   6 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0d46b89ddeae419ee3ee8679fe6836119a83e14
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c0d46b89ddeae419ee3ee8679fe6836119a83e14
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' [-Wunused-const-variable]
   static const struct of_device_id atc260x_i2c_of_match[] = {
                                    ^
   1 warning generated.


vim +/atc260x_i2c_of_match +45 drivers/mfd/atc260x-i2c.c

    44	
  > 45	static const struct of_device_id atc260x_i2c_of_match[] = {
    46		{ .compatible = "actions,atc2603c", .data = (void *)ATC2603C },
    47		{ .compatible = "actions,atc2609a", .data = (void *)ATC2609A },
    48		{ }
    49	};
    50	MODULE_DEVICE_TABLE(of, atc260x_i2c_of_match);
    51	

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

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

* drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match'
@ 2021-09-28  4:35 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-09-28  4:35 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: c0d46b89ddeae419ee3ee8679fe6836119a83e14 mfd: Make symbol 'atc260x_i2c_of_match' static
date:   6 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0d46b89ddeae419ee3ee8679fe6836119a83e14
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c0d46b89ddeae419ee3ee8679fe6836119a83e14
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' [-Wunused-const-variable]
   static const struct of_device_id atc260x_i2c_of_match[] = {
                                    ^
   1 warning generated.


vim +/atc260x_i2c_of_match +45 drivers/mfd/atc260x-i2c.c

    44	
  > 45	static const struct of_device_id atc260x_i2c_of_match[] = {
    46		{ .compatible = "actions,atc2603c", .data = (void *)ATC2603C },
    47		{ .compatible = "actions,atc2609a", .data = (void *)ATC2609A },
    48		{ }
    49	};
    50	MODULE_DEVICE_TABLE(of, atc260x_i2c_of_match);
    51	

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

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

* drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match'
@ 2022-04-21 14:15 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2022-04-21 14:15 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: llvm, kbuild-all, linux-kernel, Lee Jones, Cristian Ciocaltea

Hi Wei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b253435746d9a4a701b5f09211b9c14d3370d0da
commit: c0d46b89ddeae419ee3ee8679fe6836119a83e14 mfd: Make symbol 'atc260x_i2c_of_match' static
date:   1 year ago
config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220421/202204212213.zQ5mP49k-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0d46b89ddeae419ee3ee8679fe6836119a83e14
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c0d46b89ddeae419ee3ee8679fe6836119a83e14
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/gvt/ drivers/mfd/

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/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' [-Wunused-const-variable]
   static const struct of_device_id atc260x_i2c_of_match[] = {
                                    ^
   1 warning generated.


vim +/atc260x_i2c_of_match +45 drivers/mfd/atc260x-i2c.c

    44	
  > 45	static const struct of_device_id atc260x_i2c_of_match[] = {
    46		{ .compatible = "actions,atc2603c", .data = (void *)ATC2603C },
    47		{ .compatible = "actions,atc2609a", .data = (void *)ATC2609A },
    48		{ }
    49	};
    50	MODULE_DEVICE_TABLE(of, atc260x_i2c_of_match);
    51	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

* drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match'
@ 2021-11-07  0:08 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-11-07  0:08 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: llvm, kbuild-all, linux-kernel, Lee Jones, Cristian Ciocaltea

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

Hi Wei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   00f178e15095fbcf04db00486378a6fa416a125e
commit: c0d46b89ddeae419ee3ee8679fe6836119a83e14 mfd: Make symbol 'atc260x_i2c_of_match' static
date:   7 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0d46b89ddeae419ee3ee8679fe6836119a83e14
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c0d46b89ddeae419ee3ee8679fe6836119a83e14
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' [-Wunused-const-variable]
   static const struct of_device_id atc260x_i2c_of_match[] = {
                                    ^
   1 warning generated.


vim +/atc260x_i2c_of_match +45 drivers/mfd/atc260x-i2c.c

    44	
  > 45	static const struct of_device_id atc260x_i2c_of_match[] = {
    46		{ .compatible = "actions,atc2603c", .data = (void *)ATC2603C },
    47		{ .compatible = "actions,atc2609a", .data = (void *)ATC2609A },
    48		{ }
    49	};
    50	MODULE_DEVICE_TABLE(of, atc260x_i2c_of_match);
    51	

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

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

* drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match'
@ 2021-11-07  0:08 ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-11-07  0:08 UTC (permalink / raw)
  To: kbuild-all

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

Hi Wei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   00f178e15095fbcf04db00486378a6fa416a125e
commit: c0d46b89ddeae419ee3ee8679fe6836119a83e14 mfd: Make symbol 'atc260x_i2c_of_match' static
date:   7 months ago
config: x86_64-randconfig-a002-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0d46b89ddeae419ee3ee8679fe6836119a83e14
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c0d46b89ddeae419ee3ee8679fe6836119a83e14
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' [-Wunused-const-variable]
   static const struct of_device_id atc260x_i2c_of_match[] = {
                                    ^
   1 warning generated.


vim +/atc260x_i2c_of_match +45 drivers/mfd/atc260x-i2c.c

    44	
  > 45	static const struct of_device_id atc260x_i2c_of_match[] = {
    46		{ .compatible = "actions,atc2603c", .data = (void *)ATC2603C },
    47		{ .compatible = "actions,atc2609a", .data = (void *)ATC2609A },
    48		{ }
    49	};
    50	MODULE_DEVICE_TABLE(of, atc260x_i2c_of_match);
    51	

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

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

end of thread, other threads:[~2022-04-21 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28  4:35 drivers/mfd/atc260x-i2c.c:45:34: warning: unused variable 'atc260x_i2c_of_match' kernel test robot
2021-09-28  4:35 ` kernel test robot
2021-11-07  0:08 kernel test robot
2021-11-07  0:08 ` kernel test robot
2022-04-21 14:15 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.