[linux-next:master 1915/2169] sound/soc/codecs/rk3308_codec.c:956:34: warning: unused variable 'rk3308_codec_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:   26074e1be23143b2388cacb36166766c235feb7c
commit: 4ed0915f5bc4bcc81bca783a5b984f3d81e9764e [1915/2169] ASoC: codecs: Add RK3308 internal audio codec driver
config: i386-buildonly-randconfig-005-20240327 (https://download.01.org/0day-ci/archive/20240327/202403271905.BYbGJiPi-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240327/202403271905.BYbGJiPi-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403271905.BYbGJiPi-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/rk3308_codec.c:956:34: warning: unused variable 'rk3308_codec_of_match' [-Wunused-const-variable]
     956 | static const struct of_device_id rk3308_codec_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/rk3308_codec_of_match +956 sound/soc/codecs/rk3308_codec.c

   955	
 > 956	static const struct of_device_id rk3308_codec_of_match[] = {
   957		{ .compatible = "rockchip,rk3308-codec", },
   958		{},
   959	};
   960	MODULE_DEVICE_TABLE(of, rk3308_codec_of_match);
   961	

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




[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