tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f477dd6eede3ecedc8963478571d99ec3bf3f762 commit: 0766abef85bc11d18eb25025caca92c4b9867c89 [12502/12643] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git config: riscv-randconfig-r034-20220801 (https://download.01.org/0day-ci/archive/20240712/202407121054.aZowIa9T-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/20240712/202407121054.aZowIa9T-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/202407121054.aZowIa9T-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_submit_wmt_recv_urb': drivers/bluetooth/btmtk.c:531:(.text+0x764): undefined reference to `usb_alloc_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:561:(.text+0x804): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:562:(.text+0x814): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:570:(.text+0x824): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:567:(.text+0x86a): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:537:(.text+0x880): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:550:(.text+0x89c): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_submit_intr_urb': drivers/bluetooth/btmtk.c:1174:(.text+0x8ce): undefined reference to `usb_alloc_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1195:(.text+0x982): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1197:(.text+0x98e): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1205:(.text+0x99e): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1202:(.text+0xa16): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:1181:(.text+0xa30): undefined reference to `usb_free_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_suspend': drivers/bluetooth/btmtk.c:1265:(.text+0xaaa): undefined reference to `usb_kill_anchored_urbs' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_hci_wmt_sync': drivers/bluetooth/btmtk.c:610:(.text+0xba0): undefined reference to `usb_autopm_get_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.c:623:(.text+0xbd4): undefined reference to `usb_autopm_put_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.c:663:(.text+0xc44): undefined reference to `usb_autopm_put_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_recv_acl': drivers/bluetooth/btmtk.c:941:(.text+0xfd4): undefined reference to `usb_disable_autosuspend' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `init_usb_anchor': include/linux/usb.h:1399:(.text+0x109c): undefined reference to `usb_set_interface' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `__set_mtk_intr_interface': drivers/bluetooth/btmtk.c:1013:(.text+0x119e): undefined reference to `usb_kill_anchored_urbs' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `pm_runtime_mark_last_busy': include/linux/pm_runtime.h:220:(.text+0x1286): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_wmt_recv': drivers/bluetooth/btmtk.c:506:(.text+0x1296): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.c:516:(.text+0x13bc): undefined reference to `usb_unanchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `alloc_mtk_intr_urb': drivers/bluetooth/btmtk.c:1034:(.text+0x1458): undefined reference to `usb_alloc_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_reg_read': drivers/bluetooth/btmtk.c:790:(.text+0x15d0): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_uhw_reg_write': drivers/bluetooth/btmtk.c:737:(.text+0x1672): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_uhw_reg_read': drivers/bluetooth/btmtk.c:760:(.text+0x1734): undefined reference to `usb_control_msg' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `__preempt_count_sub': include/asm-generic/preempt.h:59:(.text+0x2338): undefined reference to `usb_anchor_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_recv_isopkt': drivers/bluetooth/btmtk.c:1114:(.text+0x2348): undefined reference to `usb_submit_urb' riscv64-linux-ld: drivers/bluetooth/btmtk.o: in function `arch_irqs_disabled_flags': >> arch/riscv/include/asm/irqflags.h:39:(.text+0x239c): undefined reference to `usb_unanchor_urb' vim +39 arch/riscv/include/asm/irqflags.h 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 35 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 36 /* test flags */ 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 37 static inline int arch_irqs_disabled_flags(unsigned long flags) 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 38 { a4c3733d32a72f Christoph Hellwig 2019-10-28 @39 return !(flags & SR_IE); 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 40 } 6d60b6ee0c9777 Palmer Dabbelt 2017-07-10 41 :::::: The code at line 39 was first introduced by commit :::::: a4c3733d32a72f11dee86d0731d7565aa6ebe22d riscv: abstract out CSR names for supervisor vs machine mode :::::: TO: Christoph Hellwig <hch@xxxxxx> :::::: CC: Paul Walmsley <paul.walmsley@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki