summaryrefslogtreecommitdiffstats
path: root/drivers/hid/bpf
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-07-01 14:39:52 +0200
committerBenjamin Tissoires <bentiss@kernel.org>2024-07-01 14:48:16 +0200
commitc79de517a226b86419a5baa867e65e3f8118829f (patch)
tree1b591c2fadeaae81ac923b2d2a7c8ee6637263ff /drivers/hid/bpf
parentHID: bpf: doc fixes for hid_hw_request() hooks (diff)
downloadlinux-c79de517a226b86419a5baa867e65e3f8118829f.tar.xz
linux-c79de517a226b86419a5baa867e65e3f8118829f.zip
HID: bpf: doc fixes for hid_hw_request() hooks
We had the following errors while doing make htmldocs: Documentation/hid/hid-bpf:185: include/linux/hid_bpf.h:167: ERROR: Unexpected indentation. Also ensure consistency with the rest of the __u64 vs u64. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 9286675a2aed ("HID: bpf: add HID-BPF hooks for hid_hw_output_report") Link: https://patch.msgid.link/20240701-fix-cki-v2-4-20564e2e1393@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'drivers/hid/bpf')
-rw-r--r--drivers/hid/bpf/hid_bpf_dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/bpf/hid_bpf_dispatch.c b/drivers/hid/bpf/hid_bpf_dispatch.c
index a36e680399fe..a272a086c950 100644
--- a/drivers/hid/bpf/hid_bpf_dispatch.c
+++ b/drivers/hid/bpf/hid_bpf_dispatch.c
@@ -115,7 +115,7 @@ out:
EXPORT_SYMBOL_GPL(dispatch_hid_bpf_raw_requests);
int dispatch_hid_bpf_output_report(struct hid_device *hdev,
- __u8 *buf, u32 size, __u64 source,
+ __u8 *buf, u32 size, u64 source,
bool from_bpf)
{
struct hid_bpf_ctx_kern ctx_kern = {