Re: [PATCH v2 3/3] Bluetooth: btrtl: Set up Realtek 8822CE for Android BQR commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joseph,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bluetooth-next/master]
[also build test ERROR on next-20210909]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Joseph-Hwang/Bluetooth-btandroid-Support-Android-Bluetooth-Quality-Report/20210908-192118
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: i386-randconfig-f003-20200320 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/3723e13da0251e3fbea4781ce1e4f917301b0bb5
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Joseph-Hwang/Bluetooth-btandroid-Support-Android-Bluetooth-Quality-Report/20210908-192118
        git checkout 3723e13da0251e3fbea4781ce1e4f917301b0bb5
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   ld: drivers/bluetooth/hci_qca.o: in function `qca_setup':
   drivers/bluetooth/hci_qca.c:1734: undefined reference to `btandroid_set_quality_report'
   ld: drivers/bluetooth/btrtl.o: in function `btrtl_set_quirks':
>> drivers/bluetooth/btrtl.c:750: undefined reference to `btandroid_set_quality_report'


vim +750 drivers/bluetooth/btrtl.c

   733	
   734	void btrtl_set_quirks(struct hci_dev *hdev, struct btrtl_device_info *btrtl_dev)
   735	{
   736		/* Enable controller to do both LE scan and BR/EDR inquiry
   737		 * simultaneously.
   738		 */
   739		set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
   740	
   741		/* Enable central-peripheral role (able to create new connections with
   742		 * an existing connection in slave role).
   743		 */
   744		/* Enable WBS and quality report supported by the specific devices. */
   745		switch (btrtl_dev->project_id) {
   746		case CHIP_ID_8822C:
   747		case CHIP_ID_8852A:
   748			set_bit(HCI_QUIRK_VALID_LE_STATES, &hdev->quirks);
   749			set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks);
 > 750			hdev->set_quality_report = btandroid_set_quality_report;
   751			break;
   752		default:
   753			rtl_dev_dbg(hdev, "Central-peripheral role not enabled.");
   754			rtl_dev_dbg(hdev, "WBS supported not enabled.");
   755			break;
   756		}
   757	}
   758	EXPORT_SYMBOL_GPL(btrtl_set_quirks);
   759	

---
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]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux