tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 62a7c9009061dcbb5507cbdb1bfbaa395abf3205
commit: 4a2ecf3ed66aae2b94d6fcdda84ffbf0ebf99669 [16/32] BACKPORT: FROMGIT: Bluetooth:
Handle LE devices during suspend
config: arc-allyesconfig (attached as .config)
compiler: arc-elf-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
git checkout 4a2ecf3ed66aae2b94d6fcdda84ffbf0ebf99669
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the chrome-os/chromeos-4.4 HEAD 62a7c9009061dcbb5507cbdb1bfbaa395abf3205 builds
fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/media/platform/mtk-vpu/mtk_vpu.c: In function 'vpu_free_ext_mem':
> drivers/media/platform/mtk-vpu/mtk_vpu.c:770:2: error: implicit
declaration of function 'dma_free_coherent'; did you mean
'of_dma_is_coherent'? [-Werror=implicit-function-declaration]
dma_free_coherent(dev, fw_ext_size, vpu->extmem[fw_type].va,
^~~~~~~~~~~~~~~~~
of_dma_is_coherent
drivers/media/platform/mtk-vpu/mtk_vpu.c: In function 'vpu_alloc_ext_mem':
> drivers/media/platform/mtk-vpu/mtk_vpu.c:782:28: error: implicit
declaration of function 'dma_alloc_coherent'; did you mean
'of_dma_is_coherent'? [-Werror=implicit-function-declaration]
vpu->extmem[fw_type].va = dma_alloc_coherent(dev,
^~~~~~~~~~~~~~~~~~
of_dma_is_coherent
drivers/media/platform/mtk-vpu/mtk_vpu.c:782:26: warning: assignment makes pointer from
integer without a cast [-Wint-conversion]
vpu->extmem[fw_type].va = dma_alloc_coherent(dev,
^
cc1: some warnings being treated as errors
--
net/bluetooth/hci_request.c: In function 'hci_req_add_le_scan_disable':
> net/bluetooth/hci_request.c:666:6: error: 'hdev'
undeclared (first use in this function); did you mean 'cdev'?
if
(hdev->scanning_paused) {
^~~~
cdev
net/bluetooth/hci_request.c:666:6: note: each undeclared identifier is reported only
once for each function it appears in
vim +666 net/bluetooth/hci_request.c
661
662 void hci_req_add_le_scan_disable(struct hci_request *req)
663 {
664 struct hci_cp_le_set_scan_enable cp;
665
666 if (hdev->scanning_paused) {
667 bt_dev_dbg(hdev,
"Scanning is paused for suspend");
668 return;
669 }
670
671 memset(&cp, 0, sizeof(cp));
672 cp.enable = LE_SCAN_DISABLE;
673 BT_DBG("BT_DBG_DG: set scan enable tx: hci_req_add_le_scan_disable
(ena=%d)\n", cp.enable);
674 hci_req_add(req, HCI_OP_LE_SET_SCAN_ENABLE, sizeof(cp), &cp);
675
676 /* It is possible that the only HCI command built into the command queue
677 * is HCI_OP_LE_SET_SCAN_ENABLE. If the only command is skipped
678 * at run time in hci_core.c:hci_cmd_work(), the corresponding event
679 * would never be received. This would accidentally cause HCI command
680 * timeout. Hence, it is important to add this dummy HCI command to
681 * invoke the hci_req_sync_complete() callback.
682 */
683 hci_req_add(req, HCI_OP_READ_LOCAL_NAME, 0, NULL);
684 }
685
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org