[linux-next:master 5911/11577] drivers/soc/renesas/pwc-rzv2m.c:124:34: warning: unused variable 'rzv2m_pwc_of_match'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   20f513df926fac0594a3b65f79d856bd64251861
commit: 0c56f949f626e59ef7c5b18e2706fed2a6afc4a2 [5911/11577] soc: renesas: Add PWC support for RZ/V2M
config: mips-randconfig-r005-20230209 (https://download.01.org/0day-ci/archive/20230210/202302100744.d1zZxXFn-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db0e6591612b53910a1b366863348bdb9d7d2fb1)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mipsel-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0c56f949f626e59ef7c5b18e2706fed2a6afc4a2
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 0c56f949f626e59ef7c5b18e2706fed2a6afc4a2
        # 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=mips olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/soc/renesas/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202302100744.d1zZxXFn-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/soc/renesas/pwc-rzv2m.c:124:34: warning: unused variable 'rzv2m_pwc_of_match' [-Wunused-const-variable]
   static const struct of_device_id rzv2m_pwc_of_match[] = {
                                    ^
   1 warning generated.


vim +/rzv2m_pwc_of_match +124 drivers/soc/renesas/pwc-rzv2m.c

   123	
 > 124	static const struct of_device_id rzv2m_pwc_of_match[] = {
   125		{ .compatible = "renesas,rzv2m-pwc" },
   126		{ /* sentinel */ }
   127	};
   128	MODULE_DEVICE_TABLE(of, rzv2m_pwc_of_match);
   129	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux