Re: [PATCH hid v11 01/14] HID: Kconfig: split HID support and hid-core compilation
From: kernel test robot <hidden>
Date: 2022-10-29 13:55:58
Also in:
bpf, linux-doc, linux-kselftest, lkml, oe-kbuild-all
Hi Benjamin, I love your patch! Yet something to improve: [auto build test ERROR on hid/master] url: https://github.com/intel-lab-lkp/linux/commits/Benjamin-Tissoires/Introduce-eBPF-support-for-HID-devices/20221025-173852 base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git master patch link: https://lore.kernel.org/r/20221025093458.457089-2-benjamin.tissoires%40redhat.com patch subject: [PATCH hid v11 01/14] HID: Kconfig: split HID support and hid-core compilation config: s390-zfcpdump_defconfig compiler: s390-linux-gcc (GCC) 12.1.0 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 # https://github.com/intel-lab-lkp/linux/commit/b6e78c340cbaf82c96ab3148db0b13f737abe8d7 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Benjamin-Tissoires/Introduce-eBPF-support-for-HID-devices/20221025-173852 git checkout b6e78c340cbaf82c96ab3148db0b13f737abe8d7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot [off-list ref] All errors (new ones prefixed by >>): s390-linux-ld: drivers/hid/hid-a4tech.o: in function `hid_parse':
quoted
include/linux/hid.h:1094: undefined reference to `hid_open_report'
s390-linux-ld: drivers/hid/hid-a4tech.o: in function `a4_probe':
quoted
drivers/hid/hid-a4tech.c:134: undefined reference to `hid_hw_start'
s390-linux-ld: drivers/hid/hid-a4tech.o: in function `a4_driver_init':
quoted
drivers/hid/hid-a4tech.c:164: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-a4tech.o: in function `a4_driver_exit':
quoted
drivers/hid/hid-a4tech.c:164: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-belkin.o: in function `hid_parse':
quoted
include/linux/hid.h:1094: undefined reference to `hid_open_report'
s390-linux-ld: drivers/hid/hid-belkin.o: in function `belkin_probe':
quoted
drivers/hid/hid-belkin.c:59: undefined reference to `hid_hw_start'
s390-linux-ld: drivers/hid/hid-belkin.o: in function `belkin_driver_init':
quoted
drivers/hid/hid-belkin.c:86: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-belkin.o: in function `belkin_driver_exit':
quoted
drivers/hid/hid-belkin.c:86: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-cherry.o: in function `ch_driver_init':
quoted
drivers/hid/hid-cherry.c:69: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-cherry.o: in function `ch_driver_exit':
quoted
drivers/hid/hid-cherry.c:69: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-cypress.o: in function `hid_parse':
quoted
include/linux/hid.h:1094: undefined reference to `hid_open_report'
s390-linux-ld: drivers/hid/hid-cypress.o: in function `cp_probe':
quoted
drivers/hid/hid-cypress.c:141: undefined reference to `hid_hw_start'
s390-linux-ld: drivers/hid/hid-cypress.o: in function `cp_driver_init':
quoted
drivers/hid/hid-cypress.c:177: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-cypress.o: in function `cp_driver_exit':
quoted
drivers/hid/hid-cypress.c:177: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-ezkey.o: in function `ez_driver_init':
quoted
drivers/hid/hid-ezkey.c:76: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-ezkey.o: in function `ez_driver_exit':
quoted
drivers/hid/hid-ezkey.c:76: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-ite.o: in function `ite_probe':
quoted
drivers/hid/hid-ite.c:99: undefined reference to `hid_open_report' s390-linux-ld: drivers/hid/hid-ite.c:103: undefined reference to `hid_hw_start'
s390-linux-ld: drivers/hid/hid-ite.o: in function `ite_driver_init':
quoted
drivers/hid/hid-ite.c:136: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-ite.o: in function `ite_driver_exit':
quoted
drivers/hid/hid-ite.c:136: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-kensington.o: in function `ks_driver_init':
drivers/hid/hid-kensington.c:47: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-kensington.o: in function `ks_driver_exit':
drivers/hid/hid-kensington.c:47: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `ms_remove':
drivers/hid/hid-microsoft.c:409: undefined reference to `hid_hw_stop'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `hid_parse':
include/linux/hid.h:1094: undefined reference to `hid_open_report'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `ms_probe':
drivers/hid/hid-microsoft.c:391: undefined reference to `hid_hw_start'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `ms_ff_worker':
drivers/hid/hid-microsoft.c:302: undefined reference to `hid_hw_output_report'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `ms_driver_init':
drivers/hid/hid-microsoft.c:467: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-microsoft.o: in function `ms_driver_exit':
drivers/hid/hid-microsoft.c:467: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-monterey.o: in function `mr_driver_init':
drivers/hid/hid-monterey.c:63: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-monterey.o: in function `mr_driver_exit':
drivers/hid/hid-monterey.c:63: undefined reference to `hid_unregister_driver'
s390-linux-ld: drivers/hid/hid-redragon.o: in function `redragon_driver_init':
drivers/hid/hid-redragon.c:60: undefined reference to `__hid_register_driver'
s390-linux-ld: drivers/hid/hid-redragon.o: in function `redragon_driver_exit':
drivers/hid/hid-redragon.c:60: undefined reference to `hid_unregister_driver'
pahole: .tmp_vmlinux.btf: No such file or directory
.btf.vmlinux.bin.o: file not recognized: file format not recognized
vim +1094 include/linux/hid.h
022e8c4d08b3b0 Jiri Slaby 2008-05-16 1082
c500c9714011ed Jiri Slaby 2008-05-16 1083 /**
c500c9714011ed Jiri Slaby 2008-05-16 1084 * hid_parse - parse HW reports
c500c9714011ed Jiri Slaby 2008-05-16 1085 *
c500c9714011ed Jiri Slaby 2008-05-16 1086 * @hdev: hid device
c500c9714011ed Jiri Slaby 2008-05-16 1087 *
c500c9714011ed Jiri Slaby 2008-05-16 1088 * Call this from probe after you set up the device (if needed). Your
c500c9714011ed Jiri Slaby 2008-05-16 1089 * report_fixup will be called (if non-NULL) after reading raw report from
c500c9714011ed Jiri Slaby 2008-05-16 1090 * device before passing it to hid layer for real parsing.
c500c9714011ed Jiri Slaby 2008-05-16 1091 */
c500c9714011ed Jiri Slaby 2008-05-16 1092 static inline int __must_check hid_parse(struct hid_device *hdev)
c500c9714011ed Jiri Slaby 2008-05-16 1093 {
a7197c2e4120ce Henrik Rydberg 2012-04-22 @1094 return hid_open_report(hdev);
c500c9714011ed Jiri Slaby 2008-05-16 1095 }
c500c9714011ed Jiri Slaby 2008-05-16 1096
--
0-DAY CI Kernel Test Service
https://01.org/lkp