* [chrome-os:chromeos-4.4 16/32] net/bluetooth/hci_request.c:666:6: error: 'hdev' undeclared; did you mean 'cdev'?
@ 2020-04-02 8:52 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-02 8:52 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3632 bytes --]
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@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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38955 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-02 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 8:52 [chrome-os:chromeos-4.4 16/32] net/bluetooth/hci_request.c:666:6: error: 'hdev' undeclared; did you mean 'cdev'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.