Re: [PATCH HID 6/7] HID: bpf: Allow to control the connect mask of hid-generic from BPF

2024-09-03 Thread Benjamin Tissoires
On Sep 03 2024, Peter Hutterer wrote: > On Tue, Sep 03, 2024 at 01:14:36AM +0900, Benjamin Tissoires wrote: > > We make struct hid_device_id writeable and use the .driver_data field > > of hid-generic as the connect mask. > > I think this needs to be spelled out a bit more: for this to work the >

Re: [PATCH HID 6/7] HID: bpf: Allow to control the connect mask of hid-generic from BPF

2024-09-02 Thread Peter Hutterer
On Tue, Sep 03, 2024 at 01:14:36AM +0900, Benjamin Tissoires wrote: > We make struct hid_device_id writeable and use the .driver_data field > of hid-generic as the connect mask. I think this needs to be spelled out a bit more: for this to work the driver *must* be hid-generic, otherwise this doesn