Re: [PATCH bpf-next v6 10/23] HID: export hid_report_type to uapi

From: Greg KH
Date: Fri Jul 15 2022 - 01:01:20 EST


On Tue, Jul 12, 2022 at 04:58:37PM +0200, Benjamin Tissoires wrote:
> When we are dealing with eBPF, we need to have access to the report type.
> Currently our implementation differs from the USB standard, making it
> impossible for users to know the exact value besides hardcoding it
> themselves.
>
> And instead of a blank define, convert it as an enum.
>
> Note that we need to also do change in the ll_driver API, but given
> that this will have a wider impact outside of this tree, we leave this
> as a TODO for the future.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>