Messages in this thread | | | Date | Tue, 7 Dec 2021 02:00:21 +0800 | From | kernel test robot <> | Subject | [chenxing:msc313_mainlining 40/73] 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: 4c9fe2eaf0fcfd50fbd5abafd740731257f5a8d6 commit: 321b224e4ea050bdf9043a0ee577448ed3233bc7 [40/73] pinctrl: mstar: msc313 pinctrl driver config: arm-randconfig-r005-20211205 (https://download.01.org/0day-ci/archive/20211207/202112070109.hEWDj0ar-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5f1d1854eb1450d352663ee732235893c5782237) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/linux-chenxing/linux/commit/321b224e4ea050bdf9043a0ee577448ed3233bc7 git remote add chenxing git://github.com/linux-chenxing/linux.git git fetch --no-tags chenxing msc313_mainlining git checkout 321b224e4ea050bdf9043a0ee577448ed3233bc7 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/pinctrl/mstar/
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/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
acfcb56b8544d2 Daniel Palmer 2021-01-10 34 acfcb56b8544d2 Daniel Palmer 2021-01-10 @35 static const char * const pm_uart_groups[] = { acfcb56b8544d2 Daniel Palmer 2021-01-10 36 GROUPNAME_PM_UART, acfcb56b8544d2 Daniel Palmer 2021-01-10 37 }; acfcb56b8544d2 Daniel Palmer 2021-01-10 38 acfcb56b8544d2 Daniel Palmer 2021-01-10 @39 static const char * const pm_spi_groups[] = { acfcb56b8544d2 Daniel Palmer 2021-01-10 40 GROUPNAME_PM_SPI, acfcb56b8544d2 Daniel Palmer 2021-01-10 41 }; acfcb56b8544d2 Daniel Palmer 2021-01-10 42 acfcb56b8544d2 Daniel Palmer 2021-01-10 @43 static const char * const pm_irin_groups[] = { acfcb56b8544d2 Daniel Palmer 2021-01-10 44 GROUPNAME_PM_IRIN, acfcb56b8544d2 Daniel Palmer 2021-01-10 45 }; acfcb56b8544d2 Daniel Palmer 2021-01-10 46
:::::: The code at line 35 was first introduced by commit :::::: acfcb56b8544d28d329b493d3c74542f857f60b3 pinctrl: mstar: msc313 pm pinctrl driver
:::::: TO: Daniel Palmer <daniel@0x0f.com> :::::: CC: Daniel Palmer <daniel@0x0f.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |