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]
Message-ID: <202110021706.6oqxIiTL-lkp@intel.com>
Date:   Sat, 2 Oct 2021 17:28:12 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Palmer <daniel@...f.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [chenxing:msc313_mainlining 41/62]
 drivers/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable
 'pm_uart_groups'

tree:   git://github.com/linux-chenxing/linux.git msc313_mainlining
head:   1b2db4b2c68fdb4acc386166e82a28dfbc808705
commit: c4c8b6c55a5a3880c67510369fd6c3bebe11d1f3 [41/62] pinctrl: mstar: msc313 pinctrl driver
config: arm64-randconfig-r033-20211002 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 962e503cc8bc411f7523cc393acae8aae425b1c4)
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://github.com/linux-chenxing/linux/commit/c4c8b6c55a5a3880c67510369fd6c3bebe11d1f3
        git remote add chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags chenxing msc313_mainlining
        git checkout c4c8b6c55a5a3880c67510369fd6c3bebe11d1f3
        # 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@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:35:27: warning: unused variable 'pm_uart_groups' [-Wunused-const-variable]
   static const char * const pm_uart_groups[] = {
                             ^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:39:27: warning: unused variable 'pm_spi_groups' [-Wunused-const-variable]
   static const char * const pm_spi_groups[] = {
                             ^
>> drivers/pinctrl/mstar/pinctrl-msc313-pm.c:43:27: warning: unused variable 'pm_irin_groups' [-Wunused-const-variable]
   static const char * const pm_irin_groups[] = {
                             ^
   3 warnings generated.


vim +/pm_uart_groups +35 drivers/pinctrl/mstar/pinctrl-msc313-pm.c

738e49982a635d Daniel Palmer 2021-01-10  34  
738e49982a635d Daniel Palmer 2021-01-10 @35  static const char * const pm_uart_groups[] = {
738e49982a635d Daniel Palmer 2021-01-10  36  	GROUPNAME_PM_UART,
738e49982a635d Daniel Palmer 2021-01-10  37  };
738e49982a635d Daniel Palmer 2021-01-10  38  
738e49982a635d Daniel Palmer 2021-01-10 @39  static const char * const pm_spi_groups[] = {
738e49982a635d Daniel Palmer 2021-01-10  40  	GROUPNAME_PM_SPI,
738e49982a635d Daniel Palmer 2021-01-10  41  };
738e49982a635d Daniel Palmer 2021-01-10  42  
738e49982a635d Daniel Palmer 2021-01-10 @43  static const char * const pm_irin_groups[] = {
738e49982a635d Daniel Palmer 2021-01-10  44  	GROUPNAME_PM_IRIN,
738e49982a635d Daniel Palmer 2021-01-10  45  };
738e49982a635d Daniel Palmer 2021-01-10  46  

:::::: The code at line 35 was first introduced by commit
:::::: 738e49982a635dffd5c04f7f369c3895267577d4 pinctrl: mstar: msc313 pm pinctrl driver

:::::: TO: Daniel Palmer <daniel@...f.com>
:::::: CC: Daniel Palmer <daniel@...f.com>

---
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" (37216 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ