From: kernel test robot <lkp@intel.com>
To: Benjamin Tissoires <bentiss@kernel.org>
Cc: <oe-kbuild-all@lists.linux.dev>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 5081/8232] progs/hid.c:33:20: error: variable has incomplete type 'struct hid_bpf_ops'
Date: Thu, 27 Jun 2024 22:04:37 +0800 [thread overview]
Message-ID: <Zn1xdfuXYPgbMdwz@rli9-mobl> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0fc4bfab2cd45f9acb86c4f04b5191e114e901ed
commit: d7696738d66b4f1379fe77eef61cd1047d7f0773 [5081/8232] selftests/hid: convert the hid_bpf selftests with struct_ops
:::::: branch date: 27 hours ago
:::::: commit date: 12 days ago
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240627/202406270328.bscLN1IF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202406270328.bscLN1IF-lkp@intel.com/
All errors (new ones prefixed by >>):
>> progs/hid.c:33:20: error: variable has incomplete type 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:52:20: error: variable has incomplete type 'struct hid_bpf_ops'
52 | struct hid_bpf_ops second_event = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:70:20: error: variable has incomplete type 'struct hid_bpf_ops'
70 | struct hid_bpf_ops change_report_id = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:215:20: error: variable has incomplete type 'struct hid_bpf_ops'
215 | struct hid_bpf_ops rdesc_fixup = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:237:20: error: variable has incomplete type 'struct hid_bpf_ops'
237 | struct hid_bpf_ops test_insert1 = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:260:20: error: variable has incomplete type 'struct hid_bpf_ops'
260 | struct hid_bpf_ops test_insert2 = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
progs/hid.c:282:20: error: variable has incomplete type 'struct hid_bpf_ops'
282 | struct hid_bpf_ops test_insert3 = {
| ^
progs/hid.c:33:8: note: forward declaration of 'struct hid_bpf_ops'
33 | struct hid_bpf_ops first_event = {
| ^
7 errors generated.
vim +33 tools/testing/selftests/hid/progs/hid.c
0330f725cc5b01 Benjamin Tissoires 2022-11-03 31
d7696738d66b4f Benjamin Tissoires 2024-06-08 32 SEC(".struct_ops.link")
d7696738d66b4f Benjamin Tissoires 2024-06-08 @33 struct hid_bpf_ops first_event = {
d7696738d66b4f Benjamin Tissoires 2024-06-08 34 .hid_device_event = (void *)hid_first_event,
d7696738d66b4f Benjamin Tissoires 2024-06-08 35 .hid_id = 2,
d7696738d66b4f Benjamin Tissoires 2024-06-08 36 };
d7696738d66b4f Benjamin Tissoires 2024-06-08 37
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-06-27 14:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zn1xdfuXYPgbMdwz@rli9-mobl \
--to=lkp@intel.com \
--cc=bentiss@kernel.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox