From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android-mainline 43/43] progs/hid.c:487:18: error: incompatible pointer types passing 'struct bpf_wq *' to parameter of type 'struct bpf_wq *'
Date: Thu, 01 Jan 2026 01:46:00 +0100 [thread overview]
Message-ID: <202601010133.onjRXxo7-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android-mainline
head: 11d0c8d1e2fa75d6946155211b11f463ebc307b1
commit: 380603d5f29a2265cb058a9ce5f2171f096ccca1 [43/43] Merge 2be6a7503d32 ("Merge tag 'trace-unused-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace") into android-mainline
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260101/202601010133.onjRXxo7-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260101/202601010133.onjRXxo7-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/oe-kbuild-all/202601010133.onjRXxo7-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from progs/hid.c:3:
progs/hid_bpf_helpers.h:117:31: error: declaration of 'struct bpf_wq' will not be visible outside of this function [-Werror,-Wvisibility]
117 | extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
| ^
progs/hid_bpf_helpers.h:118:32: error: declaration of 'struct bpf_wq' will not be visible outside of this function [-Werror,-Wvisibility]
118 | extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym;
| ^
progs/hid_bpf_helpers.h:119:44: error: declaration of 'struct bpf_wq' will not be visible outside of this function [-Werror,-Wvisibility]
119 | extern int bpf_wq_set_callback_impl(struct bpf_wq *wq,
| ^
progs/hid.c:448:16: error: field has incomplete type 'struct bpf_wq'
448 | struct bpf_wq work;
| ^
progs/hid.c:448:9: note: forward declaration of 'struct bpf_wq'
448 | struct bpf_wq work;
| ^
>> progs/hid.c:487:18: error: incompatible pointer types passing 'struct bpf_wq *' to parameter of type 'struct bpf_wq *' [-Werror,-Wincompatible-pointer-types]
487 | if (bpf_wq_init(wq, &hmap, 0) != 0)
| ^~
progs/hid_bpf_helpers.h:117:39: note: passing argument to parameter 'wq' here
117 | extern int bpf_wq_init(struct bpf_wq *wq, void *p__map, unsigned int flags) __weak __ksym;
| ^
progs/hid.c:490:26: error: incompatible pointer types passing 'struct bpf_wq *' to parameter of type 'struct bpf_wq *' [-Werror,-Wincompatible-pointer-types]
490 | if (bpf_wq_set_callback(wq, wq_cb_sleepable, 0))
| ^~
progs/hid_bpf_helpers.h:123:27: note: expanded from macro 'bpf_wq_set_callback'
123 | bpf_wq_set_callback_impl(timer, cb, flags, NULL)
| ^~~~~
progs/hid_bpf_helpers.h:119:52: note: passing argument to parameter 'wq' here
119 | extern int bpf_wq_set_callback_impl(struct bpf_wq *wq,
| ^
progs/hid.c:493:19: error: incompatible pointer types passing 'struct bpf_wq *' to parameter of type 'struct bpf_wq *' [-Werror,-Wincompatible-pointer-types]
493 | if (bpf_wq_start(wq, 0))
| ^~
progs/hid_bpf_helpers.h:118:40: note: passing argument to parameter 'wq' here
118 | extern int bpf_wq_start(struct bpf_wq *wq, unsigned int flags) __weak __ksym;
| ^
progs/hid.c:503:24: error: incomplete definition of type 'struct hid_device'
503 | int hid = hid_ctx->hid->id;
| ~~~~~~~~~~~~^
progs/hid_bpf_helpers.h:59:9: note: forward declaration of 'struct hid_device'
59 | struct hid_device *hid;
| ^
8 errors generated.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-01-01 0:46 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=202601010133.onjRXxo7-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--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 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.