[linux-next:master 13468/13536] include/uapi/linux/swab.h:60:undefined reference to `usb_set_interface'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   41c196e567fb1ea97f68a2ffb7faab451cd90854
commit: a276805994095f7196324e79ae0a9d816d66d531 [13468/13536] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git
config: xtensa-randconfig-r032-20230103 (https://download.01.org/0day-ci/archive/20240720/202407200054.u0ZaGJAm-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240720/202407200054.u0ZaGJAm-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/202407200054.u0ZaGJAm-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_setup_firmware':
   drivers/bluetooth/btmtk.c:312:(.text+0xc9c): undefined reference to `usb_alloc_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:312:(.text+0xca0): undefined reference to `usb_free_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:312:(.text+0xca4): undefined reference to `usb_anchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:317:(.text+0xca8): undefined reference to `usb_submit_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:317:(.text+0xcac): undefined reference to `usb_unanchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:321:(.text+0xce0): undefined reference to `usb_alloc_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:328:(.text+0xd18): undefined reference to `usb_free_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_reset_sync':
   drivers/bluetooth/btmtk.c:370:(.text+0xe66): undefined reference to `usb_anchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:371:(.text+0xe73): undefined reference to `usb_submit_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:374:(.text+0xef4): undefined reference to `usb_unanchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:374:(.text+0xf02): undefined reference to `usb_free_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_recv_acl':
   include/net/bluetooth/hci.h:2893:(.text+0xf38): undefined reference to `usb_kill_anchored_urbs'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_recv_acl':
   drivers/bluetooth/btmtk.c:962:(.text+0xf8e): undefined reference to `usb_kill_anchored_urbs'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_hci_wmt_sync':
   drivers/bluetooth/btmtk.c:577:(.text+0x17e4): undefined reference to `usb_control_msg'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:599:(.text+0x189b): undefined reference to `usb_control_msg'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_hci_wmt_sync':
   include/linux/instrumented.h:83:(.text+0x19a7): undefined reference to `usb_control_msg'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_shutdown':
   drivers/bluetooth/btmtk.c:1483:(.text+0x1dde): undefined reference to `usb_anchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:1484:(.text+0x1deb): undefined reference to `usb_submit_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:1489:(.text+0x1e80): undefined reference to `usb_unanchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `skb_put_data.isra.0':
   include/linux/skbuff.h:2716:(.text+0x224b): undefined reference to `usb_anchor_urb'
   xtensa-linux-ld: include/linux/skbuff.h:2720:(.text+0x225a): undefined reference to `usb_submit_urb'
   xtensa-linux-ld: include/linux/skbuff.h:2721:(.text+0x22ec): undefined reference to `usb_unanchor_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_wmt_recv':
   drivers/bluetooth/btmtk.c:441:(.text+0x2397): undefined reference to `usb_alloc_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:510:(.text+0x2657): undefined reference to `usb_control_msg'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_intr_complete':
   drivers/bluetooth/btmtk.c:1159:(.text+0x2d13): undefined reference to `usb_alloc_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.c:1159:(.text+0x2d5c): undefined reference to `usb_free_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `alloc_mtk_intr_urb':
   include/linux/skbuff.h:2676:(.text+0x2ea4): undefined reference to `usb_anchor_urb'
   xtensa-linux-ld: include/linux/skbuff.h:2677:(.text+0x2eaf): undefined reference to `usb_submit_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `alloc_mtk_intr_urb':
   include/linux/usb.h:1738:(.text+0x2f30): undefined reference to `usb_unanchor_urb'
   xtensa-linux-ld: include/linux/usb.h:1739:(.text+0x2f3e): undefined reference to `usb_free_urb'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `alloc_mtk_intr_urb':
   drivers/bluetooth/btmtk.c:1054:(.text+0x3040): undefined reference to `usb_set_interface'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_reg_read':
>> include/uapi/linux/swab.h:60:(.text+0x312f): undefined reference to `usb_set_interface'
   xtensa-linux-ld: drivers/bluetooth/btmtk.o: in function `btmtk_usb_subsys_reset':
   drivers/bluetooth/btmtk.c:824:(.text+0x335c): undefined reference to `usb_kill_anchored_urbs'


vim +60 include/uapi/linux/swab.h

607ca46e97a1b6 David Howells 2012-10-13  56  
607ca46e97a1b6 David Howells 2012-10-13  57  static inline __attribute_const__ __u32 __fswab32(__u32 val)
607ca46e97a1b6 David Howells 2012-10-13  58  {
7322dd755e7dd3 Arnd Bergmann 2016-05-05  59  #if defined(__arch_swab32)
607ca46e97a1b6 David Howells 2012-10-13 @60  	return __arch_swab32(val);
607ca46e97a1b6 David Howells 2012-10-13  61  #else
607ca46e97a1b6 David Howells 2012-10-13  62  	return ___constant_swab32(val);
607ca46e97a1b6 David Howells 2012-10-13  63  #endif
607ca46e97a1b6 David Howells 2012-10-13  64  }
607ca46e97a1b6 David Howells 2012-10-13  65  

:::::: The code at line 60 was first introduced by commit
:::::: 607ca46e97a1b6594b29647d98a32d545c24bdff UAPI: (Scripted) Disintegrate include/linux

:::::: TO: David Howells <dhowells@xxxxxxxxxx>
:::::: CC: David Howells <dhowells@xxxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux