[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202305161345.eClvTYQ9-lkp@intel.com>
Date: Tue, 16 May 2023 14:00:18 +0800
From: kernel test robot <lkp@...el.com>
To: Neeraj Sanjay Kale <neeraj.sanjaykale@....com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Luiz Augusto von Dentz <luiz.von.dentz@...el.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Subject: drivers/bluetooth/btnxpuart.c:1277:34: warning:
'nxpuart_of_match_table' defined but not used
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@...el.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
Powered by blists - more mailing lists