Re: [PATCH bpf-next v7 17/24] HID: bpf: introduce hid_hw_request()

Greg KH
2022-07-28T15:10:30Z

On Thu, Jul 21, 2022 at 05:36:18PM +0200, Benjamin Tissoires wrote:
> This function can not be called under IRQ, thus it is only available
> while in SEC("syscall").
> For consistency, this function requires a HID-BPF context to work with,
> and so we also provide a helper to create one based on the HID unique
> ID.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>