[linux-next:master 4673/6863] sound/soc/codecs/rt1019.c:878:34: warning: unused variable 'rt1019_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:   20f1b5f9c07ca3a49e869327d4705b4254258756
commit: 7ec79d3850d0cb6dc52e6aa472886ab3adf15863 [4673/6863] ASoC: rt1019: add rt1019 amplifier driver
config: x86_64-randconfig-a013-20210325 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a4fb88669cd98db6fef7dcac88e3ec425d40c00d)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7ec79d3850d0cb6dc52e6aa472886ab3adf15863
        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 7ec79d3850d0cb6dc52e6aa472886ab3adf15863
        # 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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/rt1019.c:878:34: warning: unused variable 'rt1019_of_match' [-Wunused-const-variable]
   static const struct of_device_id rt1019_of_match[] = {
                                    ^
   1 warning generated.


vim +/rt1019_of_match +878 sound/soc/codecs/rt1019.c

   877	
 > 878	static const struct of_device_id rt1019_of_match[] = {
   879		{ .compatible = "realtek,rt1019", },
   880		{},
   881	};
   882	MODULE_DEVICE_TABLE(of, rt1019_of_match);
   883	

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

Attachment: .config.gz
Description: application/gzip


[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