tree: https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master head: d6cba4e6d0e202276b81117b96106859a4e2d56e commit: e8907f76544ffe225ab95d70f7313267b1d0c76d [4/24] Bluetooth: hci_sync: Make use of hci_cmd_sync_queue set 3 config: arm-randconfig-r012-20211029 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/?id=e8907f76544ffe225ab95d70f7313267b1d0c76d git remote add bluetooth-next https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git git fetch --no-tags bluetooth-next master git checkout e8907f76544ffe225ab95d70f7313267b1d0c76d # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> net/bluetooth/hci_sync.c:1333:5: warning: no previous prototype for function 'hci_scan_disable_sync' [-Wmissing-prototypes] int hci_scan_disable_sync(struct hci_dev *hdev, bool rpa_le_conn) ^ net/bluetooth/hci_sync.c:1333:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int hci_scan_disable_sync(struct hci_dev *hdev, bool rpa_le_conn) ^ static >> net/bluetooth/hci_sync.c:1762:5: warning: no previous prototype for function 'hci_passive_scan_sync' [-Wmissing-prototypes] int hci_passive_scan_sync(struct hci_dev *hdev) ^ net/bluetooth/hci_sync.c:1762:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int hci_passive_scan_sync(struct hci_dev *hdev) ^ static 2 warnings generated. vim +/hci_scan_disable_sync +1333 net/bluetooth/hci_sync.c 1332 > 1333 int hci_scan_disable_sync(struct hci_dev *hdev, bool rpa_le_conn) 1334 { 1335 int err; 1336 1337 /* If controller is not scanning we are done. */ 1338 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) 1339 return 0; 1340 1341 if (hdev->scanning_paused) { 1342 bt_dev_dbg(hdev, "Scanning is paused for suspend"); 1343 return 0; 1344 } 1345 1346 if (hdev->suspended) 1347 set_bit(SUSPEND_SCAN_DISABLE, hdev->suspend_tasks); 1348 1349 err = hci_le_set_scan_enable_sync(hdev, LE_SCAN_DISABLE, 0x00); 1350 if (err) { 1351 bt_dev_err(hdev, "Unable to disable scanning: %d", err); 1352 return err; 1353 } 1354 1355 if (rpa_le_conn) { 1356 err = hci_le_set_addr_resolution_enable_sync(hdev, 0x00); 1357 if (err) 1358 bt_dev_err(hdev, "Unable to disable LL privacy: %d", 1359 err); 1360 } 1361 1362 return err; 1363 } 1364 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip