Re: [PATCH 5/5] HID: apple-touchbar - Add driver for the Touch Bar on MacBook Pro's.

From: kernel test robot
Date: Sat Feb 27 2021 - 23:24:53 EST


Hi "Ronald,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on hid/for-next]
[also build test ERROR on iio/togreg jikos-trivial/for-next v5.11 next-20210226]
[cannot apply to jikos-hid/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Ronald-Tschal-r/Touch-Bar-and-ALS-support-for-MacBook-Pro-s/20210228-093451
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
config: x86_64-randconfig-r015-20210228 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e0b1df924ae06d6d88582334087d2eacc6702e8f)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/cfbb470c2977fd10aef2791b57bdfa2d95f627e0
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ronald-Tschal-r/Touch-Bar-and-ALS-support-for-MacBook-Pro-s/20210228-093451
git checkout cfbb470c2977fd10aef2791b57bdfa2d95f627e0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

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

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: usb_get_intf
>>> referenced by apple-touchbar.c:1088 (drivers/hid/apple-touchbar.c:1088)
>>> hid/apple-touchbar.o:(appletb_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_put_intf
>>> referenced by apple-touchbar.c:1101 (drivers/hid/apple-touchbar.c:1101)
>>> hid/apple-touchbar.o:(appletb_probe) in archive drivers/built-in.a
>>> referenced by apple-touchbar.c:1101 (drivers/hid/apple-touchbar.c:1101)
>>> hid/apple-touchbar.o:(appletb_remove) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: usb_control_msg
>>> referenced by apple-touchbar.c:212 (drivers/hid/apple-touchbar.c:212)
>>> hid/apple-touchbar.o:(appletb_send_usb_ctrl) in archive drivers/built-in.a
>>> referenced by apple-touchbar.c:212 (drivers/hid/apple-touchbar.c:212)
>>> hid/apple-touchbar.o:(appletb_send_usb_ctrl) in archive drivers/built-in.a
>>> referenced by apple-touchbar.c:212 (drivers/hid/apple-touchbar.c:212)
>>> hid/apple-touchbar.o:(appletb_send_usb_ctrl) in archive drivers/built-in.a
>>> referenced 2 more times

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip