lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 9 Aug 2020 01:59:00 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jisheng Zhang <Jisheng.Zhang@...aptics.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: drivers/regulator/sy8827n.c:159:34: warning: unused variable
 'sy8827n_dt_ids'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e
commit: 38fc6f295726366a0135ca87ab98f3ab92afd81f regulator: add support for SY8827N regulator
date:   5 weeks ago
config: x86_64-randconfig-r003-20200809 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0b90a08f7722980f6074c6eada8022242408cdb4)
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
        git checkout 38fc6f295726366a0135ca87ab98f3ab92afd81f
        # 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@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/regulator/sy8827n.c:159:34: warning: unused variable 'sy8827n_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id sy8827n_dt_ids[] = {
                                    ^
   1 warning generated.

vim +/sy8827n_dt_ids +159 drivers/regulator/sy8827n.c

   158	
 > 159	static const struct of_device_id sy8827n_dt_ids[] = {
   160		{
   161			.compatible = "silergy,sy8827n",
   162		},
   163		{ }
   164	};
   165	MODULE_DEVICE_TABLE(of, sy8827n_dt_ids);
   166	

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

Download attachment ".config.gz" of type "application/gzip" (37161 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ