[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 2/3] Bluetooth: hci_h5: Add support for binding RTL8723BS with device tree
Hi Alistair,

I love your patch! Yet something to improve:

[auto build test ERROR on net/master]
[also build test ERROR on net-next/master v5.7-rc2 next-20200420]
[cannot apply to bluetooth/master ipvs/master]
[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]

base: aa81700cf2326e288c9ca1fe7b544039617f1fc2
config: arm64-randconfig-a001-20200421 (attached as .config)
compiler: clang version 11.0.0 ( a9b137f9ffba8cb25dfd7dd1fb613e8aac121b37)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# save the attached .config to linux build tree

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <>

All errors (new ones prefixed by >>):

drivers/bluetooth/hci_h5.c:1023:27: error: use of undeclared identifier 'rtl_vnd'
.data = (const void *)&rtl_vnd },
>> drivers/bluetooth/hci_h5.c:1026:1: error: definition of variable with array type needs an explicit size or an initializer
MODULE_DEVICE_TABLE(of, rtl_bluetooth_of_match);
include/linux/module.h:240:21: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern typeof(name) __mod_##type##__##name##_device_table \
<scratch space>:85:1: note: expanded from here
2 errors generated.

vim +1026 drivers/bluetooth/hci_h5.c

28a75e4c813c7ae Hans de Goede 2018-10-30 1016
848fc6164158d69 Max Chou 2020-02-17 1017 static const struct of_device_id rtl_bluetooth_of_match[] = {
848fc6164158d69 Max Chou 2020-02-17 1018 #ifdef CONFIG_BT_HCIUART_RTL
848fc6164158d69 Max Chou 2020-02-17 1019 { .compatible = "realtek,rtl8822cs-bt",
848fc6164158d69 Max Chou 2020-02-17 1020 .data = (const void *)&rtl_vnd },
848fc6164158d69 Max Chou 2020-02-17 1021 #endif
025703659453391 Vasily Khoruzhick 2020-04-06 1022 { .compatible = "realtek,rtl8822bs-bt",
025703659453391 Vasily Khoruzhick 2020-04-06 1023 .data = (const void *)&rtl_vnd },
848fc6164158d69 Max Chou 2020-02-17 1024 { },
848fc6164158d69 Max Chou 2020-02-17 1025 };
848fc6164158d69 Max Chou 2020-02-17 @1026 MODULE_DEVICE_TABLE(of, rtl_bluetooth_of_match);
848fc6164158d69 Max Chou 2020-02-17 1027

:::::: The code at line 1026 was first introduced by commit
:::::: 848fc6164158d697b70b390a2db5019663713f47 Bluetooth: hci_h5: btrtl: Add support for RTL8822C

:::::: TO: Max Chou <>
:::::: CC: Marcel Holtmann <>

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2020-04-21 10:06    [W:0.102 / U:2.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site