[bluetooth-next:master 70/76] drivers/bluetooth/btmtk.c:943:(.text+0x610): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_disable_autosuspend'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   c6052c312e85011cd31237804900013f63420403
commit: 91d0ac304edffdf78012b6b57b6f94d8cf95a07f [70/76] Bluetooth: btmtk: move btusb_recv_acl_mtk to btmtk.c
config: arm64-randconfig-r036-20211103 (https://download.01.org/0day-ci/archive/20240710/202407101945.vawx3IuB-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407101945.vawx3IuB-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/202407101945.vawx3IuB-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_recv_acl':
   drivers/bluetooth/btmtk.c:943:(.text+0x610): undefined reference to `usb_disable_autosuspend'
>> drivers/bluetooth/btmtk.c:943:(.text+0x610): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_disable_autosuspend'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_submit_wmt_recv_urb':
   drivers/bluetooth/btmtk.c:528:(.text+0x648): undefined reference to `usb_alloc_urb'
   drivers/bluetooth/btmtk.c:528:(.text+0x648): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_alloc_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:534:(.text+0x678): undefined reference to `usb_free_urb'
   drivers/bluetooth/btmtk.c:534:(.text+0x678): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_free_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:558:(.text+0x714): undefined reference to `usb_anchor_urb'
   drivers/bluetooth/btmtk.c:558:(.text+0x714): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_anchor_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:559:(.text+0x720): undefined reference to `usb_submit_urb'
   drivers/bluetooth/btmtk.c:559:(.text+0x720): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_submit_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:564:(.text+0x758): undefined reference to `usb_unanchor_urb'
   drivers/bluetooth/btmtk.c:564:(.text+0x758): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_unanchor_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:567:(.text+0x760): undefined reference to `usb_free_urb'
   drivers/bluetooth/btmtk.c:567:(.text+0x760): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_free_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_reg_read':
   drivers/bluetooth/btmtk.c:787:(.text+0x8a0): undefined reference to `usb_control_msg'
   drivers/bluetooth/btmtk.c:787:(.text+0x8a0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_control_msg'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_uhw_reg_write':
   drivers/bluetooth/btmtk.c:735:(.text+0x944): undefined reference to `usb_control_msg'
   drivers/bluetooth/btmtk.c:735:(.text+0x944): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_control_msg'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_uhw_reg_read':
   drivers/bluetooth/btmtk.c:758:(.text+0xa08): undefined reference to `usb_control_msg'
   drivers/bluetooth/btmtk.c:758:(.text+0xa08): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `usb_control_msg'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_hci_wmt_sync':
   drivers/bluetooth/btmtk.c:607:(.text+0xffc): undefined reference to `usb_autopm_get_interface'
   drivers/bluetooth/btmtk.c:607:(.text+0xffc): additional relocation overflows omitted from the output
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:615:(.text+0x105c): undefined reference to `usb_autopm_put_interface'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:622:(.text+0x10b4): undefined reference to `usb_autopm_put_interface'
   aarch64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_wmt_recv':
   drivers/bluetooth/btmtk.c:505:(.text+0x1ad0): undefined reference to `usb_anchor_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:506:(.text+0x1adc): undefined reference to `usb_submit_urb'
   aarch64-linux-ld: drivers/bluetooth/btmtk.c:515:(.text+0x1b1c): undefined reference to `usb_unanchor_urb'


vim +943 drivers/bluetooth/btmtk.c

   932	
   933	int btmtk_usb_recv_acl(struct hci_dev *hdev, struct sk_buff *skb)
   934	{
   935		struct btmtk_data *data = hci_get_priv(hdev);
   936		u16 handle = le16_to_cpu(hci_acl_hdr(skb)->handle);
   937	
   938		switch (handle) {
   939		case 0xfc6f:		/* Firmware dump from device */
   940			/* When the firmware hangs, the device can no longer
   941			 * suspend and thus disable auto-suspend.
   942			 */
 > 943			usb_disable_autosuspend(data->udev);
   944	
   945			/* We need to forward the diagnostic packet to userspace daemon
   946			 * for backward compatibility, so we have to clone the packet
   947			 * extraly for the in-kernel coredump support.
   948			 */
   949			if (IS_ENABLED(CONFIG_DEV_COREDUMP)) {
   950				struct sk_buff *skb_cd = skb_clone(skb, GFP_ATOMIC);
   951	
   952				if (skb_cd)
   953					btmtk_process_coredump(hdev, skb_cd);
   954			}
   955	
   956			fallthrough;
   957		case 0x05ff:		/* Firmware debug logging 1 */
   958		case 0x05fe:		/* Firmware debug logging 2 */
   959			return hci_recv_diag(hdev, skb);
   960		}
   961	
   962		return hci_recv_frame(hdev, skb);
   963	}
   964	EXPORT_SYMBOL_GPL(btmtk_usb_recv_acl);
   965	

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




[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