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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux