Re: [PATCH v4 2/7] HID: bpf: export hid_hw_output_report as a BPF kfunc
From: Randy Dunlap
Date: Fri Mar 15 2024 - 11:56:11 EST
On 3/15/24 07:44, Benjamin Tissoires wrote:
> +/**
> + * hid_bpf_hw_output_report - Send an output report to a HID device
> + *
> + * @ctx: the HID-BPF context previously allocated in hid_bpf_allocate_context()
> + * @buf: a %PTR_TO_MEM buffer
> + * @buf__sz: the size of the data to transfer
> + *
> + * @returns the number of bytes transferred on success, a negative error code otherwise.
> + */
Minimum change:
@returns:
Preferred change:
Returns:
"@returns" is not documented.
Thanks.
--
#Randy