diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-07-01 14:39:49 +0200 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-07-01 14:48:03 +0200 |
commit | fcdf830ea634cf0ee6543b6cd6a4932f92464fc7 (patch) | |
tree | bd14a95f4b17f38a4ee2610f2d5348a82eba21ea /block | |
parent | d3e15189bfd4d0a9d3a7ad8bd0e6ebb1c0419f93 (diff) |
selftests/hid: ensure CKI can compile our new tests on old kernels
In the same way than commit ae7487d112cf ("selftests/hid: ensure we can
compile the tests on kernels pre-6.3") we should expose struct hid_bpf_ops
when it's not available in vmlinux.h.
So unexpose an eventual struct hid_bpf_ops, include vmlinux.h, and
re-export struct hid_bpf_ops.
Fixes: d7696738d66b ("selftests/hid: convert the hid_bpf selftests with struct_ops")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202406270328.bscLN1IF-lkp@intel.com/
Link: https://patch.msgid.link/20240701-fix-cki-v2-1-20564e2e1393@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions