mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/bluetooth/btnxpuart.c:1277:34: warning: 'nxpuart_of_match_table' defined but not used
@ 2023-05-16  6:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-16  6:00 UTC (permalink / raw)
  To: Neeraj Sanjay Kale
  Cc: oe-kbuild-all, linux-kernel, Luiz Augusto von Dentz, Ilpo Järvinen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6
commit: 689ca16e523278470c38832a3010645a78c544d8 Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets
date:   3 weeks ago
config: i386-randconfig-i085 (https://download.01.org/0day-ci/archive/20230516/202305161345.eClvTYQ9-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=689ca16e523278470c38832a3010645a78c544d8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 689ca16e523278470c38832a3010645a78c544d8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/bluetooth/

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

All warnings (new ones prefixed by >>):

>> drivers/bluetooth/btnxpuart.c:1277:34: warning: 'nxpuart_of_match_table' defined but not used [-Wunused-const-variable=]
    1277 | static const struct of_device_id nxpuart_of_match_table[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~


vim +/nxpuart_of_match_table +1277 drivers/bluetooth/btnxpuart.c

  1276	
> 1277	static const struct of_device_id nxpuart_of_match_table[] = {
  1278		{ .compatible = "nxp,88w8987-bt", .data = &w8987_data },
  1279		{ .compatible = "nxp,88w8997-bt", .data = &w8997_data },
  1280		{ }
  1281	};
  1282	MODULE_DEVICE_TABLE(of, nxpuart_of_match_table);
  1283	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-16  6:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-16  6:00 drivers/bluetooth/btnxpuart.c:1277:34: warning: 'nxpuart_of_match_table' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome