All of lore.kernel.org
 help / color / mirror / Atom feed
* [anolis-intel-cloud:intel-6.6-add-OMR-event-ANBZ51468 12/12] drivers/bluetooth/btmtk.h:223:12: warning: 'btmtk_register_coredump' defined but not used
@ 2026-10-11 13:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-11 13:21 UTC (permalink / raw)
  To: aubrey.li; +Cc: oe-kbuild-all

tree:   https://gitee.com/anolis/intel-cloud-kernel.git intel-6.6-add-OMR-event-ANBZ51468
head:   40555325b1fefd764aa1929b51f304033135bc97
commit: c81f963395299e5d9c7202da9e1c13aa31e82b1c [12/12] Bluetooth: btmtk: move btusb_mtk_[setup, shutdown] to btmtk.c
config: x86_64-anolis-intel-cloud-devel-6.6 (https://download.01.org/0day-ci/archive/20261011/202610112108.EJsgPCAb-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261011/202610112108.EJsgPCAb-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610112108.EJsgPCAb-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/bluetooth/btusb.c:28:
   drivers/bluetooth/btmtk.h:234:13: warning: 'btmtk_fw_get_filename' defined but not used [-Wunused-function]
     234 | static void btmtk_fw_get_filename(char *buf, size_t size, u32 dev_id,
         |             ^~~~~~~~~~~~~~~~~~~~~
>> drivers/bluetooth/btmtk.h:223:12: warning: 'btmtk_register_coredump' defined but not used [-Wunused-function]
     223 | static int btmtk_register_coredump(struct hci_dev *hdev, const char *name,
         |            ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/bluetooth/btmtk.h:213:12: warning: 'btmtk_setup_firmware' defined but not used [-Wunused-function]
     213 | static int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname,
         |            ^~~~~~~~~~~~~~~~~~~~
>> drivers/bluetooth/btmtk.h:207:12: warning: 'btmtk_setup_firmware_79xx' defined but not used [-Wunused-function]
     207 | static int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/btmtk_register_coredump +223 drivers/bluetooth/btmtk.h

8c0d17b6b06c5b Sean Wang 2021-10-19  206  
8c0d17b6b06c5b Sean Wang 2021-10-19 @207  static int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname,
8c0d17b6b06c5b Sean Wang 2021-10-19  208  				     wmt_cmd_sync_func_t wmt_cmd_sync)
8c0d17b6b06c5b Sean Wang 2021-10-19  209  {
8c0d17b6b06c5b Sean Wang 2021-10-19  210  	return -EOPNOTSUPP;
8c0d17b6b06c5b Sean Wang 2021-10-19  211  }
8c0d17b6b06c5b Sean Wang 2021-10-19  212  
8c0d17b6b06c5b Sean Wang 2021-10-19 @213  static int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname,
8c0d17b6b06c5b Sean Wang 2021-10-19  214  				wmt_cmd_sync_func_t wmt_cmd_sync)
8c0d17b6b06c5b Sean Wang 2021-10-19  215  {
8c0d17b6b06c5b Sean Wang 2021-10-19  216  	return -EOPNOTSUPP;
8c0d17b6b06c5b Sean Wang 2021-10-19  217  }
8c0d17b6b06c5b Sean Wang 2021-10-19  218  
25b6d7593a3af7 Jing Cai  2023-06-29  219  static void btmtk_reset_sync(struct hci_dev *hdev)
25b6d7593a3af7 Jing Cai  2023-06-29  220  {
25b6d7593a3af7 Jing Cai  2023-06-29  221  }
0b70151328781a Jing Cai  2023-06-29  222  
0b70151328781a Jing Cai  2023-06-29 @223  static int btmtk_register_coredump(struct hci_dev *hdev, const char *name,
0b70151328781a Jing Cai  2023-06-29  224  				   u32 fw_version)
0b70151328781a Jing Cai  2023-06-29  225  {
0b70151328781a Jing Cai  2023-06-29  226  	return -EOPNOTSUPP;
0b70151328781a Jing Cai  2023-06-29  227  }
0b70151328781a Jing Cai  2023-06-29  228  

:::::: The code at line 223 was first introduced by commit
:::::: 0b70151328781a89c89e4cf3fae21fc0e98d869e Bluetooth: btusb: mediatek: add MediaTek devcoredump support

:::::: TO: Jing Cai <jing.cai@mediatek.com>
:::::: CC: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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

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

only message in thread, other threads:[~2026-10-11 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-11 13:21 [anolis-intel-cloud:intel-6.6-add-OMR-event-ANBZ51468 12/12] drivers/bluetooth/btmtk.h:223:12: warning: 'btmtk_register_coredump' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.