All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen-kernel-zen-kernel:5.10/zen-sauce 3/19] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names'
@ 2020-12-16  1:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-16  1:26 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/zen-kernel/zen-kernel 5.10/zen-sauce
head:   b7b24b494b62e02c21a9a349da2d036849f9dd8b
commit: 5b3d9f2372600c3b908b1bd0e8c9b8c6ed351fa2 [3/19] ZEN: Add OpenRGB patches
config: x86_64-randconfig-r013-20201215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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://github.com/zen-kernel/zen-kernel/commit/5b3d9f2372600c3b908b1bd0e8c9b8c6ed351fa2
        git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen-kernel-zen-kernel 5.10/zen-sauce
        git checkout 5b3d9f2372600c3b908b1bd0e8c9b8c6ed351fa2
        # 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/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names' [-Wunused-const-variable]
   static const char * const nct6775_device_names[] = {
                             ^
   drivers/i2c/busses/i2c-nct6775.c:136:1: warning: unused function 'superio_outb' [-Wunused-function]
   superio_outb(int ioreg, int reg, int val)
   ^
   2 warnings generated.

vim +/nct6775_device_names +93 drivers/i2c/busses/i2c-nct6775.c

    91	
    92	/* used to set data->name = nct6775_device_names[data->sio_kind] */
  > 93	static const char * const nct6775_device_names[] = {
    94		"nct6106",
    95		"nct6775",
    96		"nct6776",
    97		"nct6779",
    98		"nct6791",
    99		"nct6792",
   100		"nct6793",
   101		"nct6795",
   102		"nct6796",
   103		"nct6798",
   104	};
   105	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-16  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  1:26 [zen-kernel-zen-kernel:5.10/zen-sauce 3/19] drivers/i2c/busses/i2c-nct6775.c:93:27: warning: unused variable 'nct6775_device_names' 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.