tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 41c196e567fb1ea97f68a2ffb7faab451cd90854 commit: 0c9b6e2f7742d52437d477f4ed045fa0b4d55f44 [13085/13536] Bluetooth: btmtk: Fix kernel crash when entering btmtk_usb_suspend config: riscv-randconfig-s031-20220227 (https://download.01.org/0day-ci/archive/20240719/202407192020.DOyqx0Uo-lkp@xxxxxxxxx/config) compiler: riscv64-linux-gcc (GCC) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240719/202407192020.DOyqx0Uo-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/202407192020.DOyqx0Uo-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_reset_sync': drivers/bluetooth/btmtk.c:363:(.text+0x7f8): undefined reference to `usb_disable_autosuspend' riscv64-linux-ld: drivers/bluetooth/btmtk.c:374:(.text+0x856): undefined reference to `usb_alloc_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_recv_acl': drivers/bluetooth/btmtk.c:966:(.text+0x91e): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:966:(.text+0x92e): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:966:(.text+0x93e): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `kmalloc_noprof': include/linux/slab.h:660:(.text+0x98c): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: include/linux/slab.h:660:(.text+0x998): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `kmalloc_type': include/linux/slab.h:448:(.text+0x9b4): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `usb_fill_control_urb': include/linux/usb.h:1669:(.text+0xa22): undefined reference to `usb_alloc_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_submit_wmt_recv_urb': drivers/bluetooth/btmtk.c:533:(.text+0xad6): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:533:(.text+0xae2): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:533:(.text+0xaf2): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_submit_intr_urb': drivers/bluetooth/btmtk.c:1185:(.text+0xb72): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `__create_pipe': include/linux/usb.h:1974:(.text+0xb82): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_submit_intr_urb': drivers/bluetooth/btmtk.c:1200:(.text+0xc62): undefined reference to `usb_kill_anchored_urbs' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_resume': drivers/bluetooth/btmtk.c:1254:(.text+0xd62): undefined reference to `usb_autopm_get_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_suspend': drivers/bluetooth/btmtk.c:1258:(.text+0xd96): undefined reference to `usb_autopm_put_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_hci_wmt_sync': drivers/bluetooth/btmtk.c:596:(.text+0xe4c): undefined reference to `usb_autopm_put_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_func_query': drivers/bluetooth/btmtk.c:714:(.text+0x1132): undefined reference to `usb_set_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_shutdown': drivers/bluetooth/btmtk.c:1489:(.text+0x1254): undefined reference to `usb_kill_anchored_urbs' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `__set_mtk_intr_interface': drivers/bluetooth/btmtk.c:998:(.text+0x1346): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1000:(.text+0x1356): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1020:(.text+0x14c6): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_wmt_recv': drivers/bluetooth/btmtk.c:506:(.text+0x156c): undefined reference to `usb_alloc_urb' >> riscv64-linux-ld: drivers/bluetooth/btmtk.c:477:(.text+0x1746): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `__skb_put': include/linux/skbuff.h:2676:(.text+0x1804): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `alloc_mtk_intr_urb': drivers/bluetooth/btmtk.c:1042:(.text+0x1904): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_setup': drivers/bluetooth/btmtk.c:1411:(.text+0x23d0): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1411:(.text+0x23e0): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1433:(.text+0x243c): undefined reference to `usb_unanchor_urb' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki