Re: [PATCH v2 02/10] Bluetooth: Add initial implementation of CIS connections

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

 



Hi Luiz,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bluetooth-next/master]
[also build test ERROR on next-20200110]
[cannot apply to bluetooth/master v5.5-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Luiz-Augusto-von-Dentz/Bluetooth-5-2-initial-support/20200111-154512
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
config: alpha-randconfig-a001-20200112 (attached as .config)
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=alpha 

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

All errors (new ones prefixed by >>):

   net/bluetooth/af_bluetooth.o: In function `bt_init':
   net/bluetooth/af_bluetooth.c:760: undefined reference to `iso_init'
   net/bluetooth/af_bluetooth.c:760: undefined reference to `iso_init'
>> net/bluetooth/af_bluetooth.c:771: undefined reference to `iso_exit'
>> net/bluetooth/af_bluetooth.c:771: undefined reference to `iso_exit'
   net/bluetooth/hci_core.o: In function `hci_isodata_packet':
   net/bluetooth/hci_core.c:4480: undefined reference to `iso_recv'
   net/bluetooth/hci_core.c:4480: undefined reference to `iso_recv'
   net/bluetooth/hci_event.o: In function `hci_proto_connect_ind':
   include/net/bluetooth/hci_core.h:1285: undefined reference to `iso_connect_ind'
   include/net/bluetooth/hci_core.h:1285: undefined reference to `iso_connect_ind'
   include/net/bluetooth/hci_core.h:1285: undefined reference to `iso_connect_ind'
   include/net/bluetooth/hci_core.h:1285: undefined reference to `iso_connect_ind'

vim +771 net/bluetooth/af_bluetooth.c

   718	
   719	#define VERSION __stringify(BT_SUBSYS_VERSION) "." \
   720			__stringify(BT_SUBSYS_REVISION)
   721	
   722	static int __init bt_init(void)
   723	{
   724		int err;
   725	
   726		sock_skb_cb_check_size(sizeof(struct bt_skb_cb));
   727	
   728		BT_INFO("Core ver %s", VERSION);
   729	
   730		err = bt_selftest();
   731		if (err < 0)
   732			return err;
   733	
   734		bt_debugfs = debugfs_create_dir("bluetooth", NULL);
   735	
   736		bt_leds_init();
   737	
   738		err = bt_sysfs_init();
   739		if (err < 0)
   740			return err;
   741	
   742		err = sock_register(&bt_sock_family_ops);
   743		if (err)
   744			goto cleanup_sysfs;
   745	
   746		BT_INFO("HCI device and connection manager initialized");
   747	
   748		err = hci_sock_init();
   749		if (err)
   750			goto unregister_socket;
   751	
   752		err = l2cap_init();
   753		if (err)
   754			goto cleanup_socket;
   755	
   756		err = sco_init();
   757		if (err)
   758			goto cleanup_cap;
   759	
 > 760		err = iso_init();
   761		if (err)
   762			goto cleanup_sco;
   763	
   764		err = mgmt_init();
   765		if (err)
   766			goto cleanup_iso;
   767	
   768		return 0;
   769	
   770	cleanup_iso:
 > 771		iso_exit();
   772	cleanup_sco:
   773		sco_exit();
   774	cleanup_cap:
   775		l2cap_exit();
   776	cleanup_socket:
   777		hci_sock_cleanup();
   778	unregister_socket:
   779		sock_unregister(PF_BLUETOOTH);
   780	cleanup_sysfs:
   781		bt_sysfs_cleanup();
   782		return err;
   783	}
   784	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation

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