HID: Convert UHID to new HID transport-layer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | HID: uhid: simplify report-cb shutdowndrivers/ | +2 | 0 replies | |
| 2/12 | HID: uhid: forward create_req to create2_reqdrivers/ | +25 | 0 replies | |
| 3/12 | HID: uhid: avoid dangling pointers in uhid contextdrivers/ | +11 | 0 replies | |
| 4/12 | HID: uhid: avoid magic-numbers when setting stringsdrivers/ | +7 | 0 replies | |
| 5/12 | HID: uhid: turn report_id into u32drivers/ | +4 | 0 replies | |
| 6/12 | HID: uhid: invert report_done and make non-atomicdrivers/ | +7 | 0 replies | |
| 7/12 | HID: uhid: add ABI compatible UHID_GET_REPORT replacing UHID_FEATUREdrivers/ include/ | +35 | 0 replies | |
| 8/12 | HID: uhid: keep legacy definitions at the bottom of uhid.hinclude/ | +62 | 0 replies | |
| 9/12 | HID: uhid: rename uhid_raw_request to uhid_hid_raw_requestdrivers/ | +16 | 0 replies | |
| 10/12 | HID: uhid: implement SET_REPORTdrivers/ include/ | +155 | 0 replies | |
| 11/12 | HID: uhid: report to user-space whether reports are numbereddrivers/ include/ | +31 | 0 replies | |
| 12/12 | HID: uhid: update documentationDocumentation/ | +92 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] HID: Convert UHID to new HID transport-layer
Hi
When Benjamin cleanup up the transport layer, he left UHID mostly unconverted due to ABI issues. I promised to take a look, so here're the patches.
Most of the patches are fairly straightforward. Comments welcome. I tested an old uhid-sample.c build and it still works, so I think I didn't break backwards-compatibility.
Thanks
David
David Herrmann (12):
HID: uhid: simplify report-cb shutdown
HID: uhid: forward create_req to create2_req
HID: uhid: avoid dangling pointers in uhid context
HID: uhid: avoid magic-numbers when setting strings
HID: uhid: turn report_id into u32
HID: uhid: invert report_done and make non-atomic
HID: uhid: add ABI compatible UHID_GET_REPORT replacing UHID_FEATURE
HID: uhid: keep legacy definitions at the bottom of uhid.h
HID: uhid: rename uhid_raw_request to uhid_hid_raw_request
HID: uhid: implement SET_REPORT
HID: uhid: report to user-space whether reports are numbered
HID: uhid: update documentation
Documentation/hid/uhid.txt | 179 ++++++++++---------- drivers/hid/uhid.c | 394 +++++++++++++++++++++++++-------------------- include/uapi/linux/uhid.h | 120 +++++++++++--- 3 files changed, 408 insertions(+), 285 deletions(-)
Signature · 1 line
2.0.3