diff options
| author | Denis Benato <[email protected]> | 2023-11-17 01:15:55 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2023-11-22 10:23:19 +0000 |
| commit | 06ae5afce8cc1f7621cc5c7751e449ce20d68af7 (patch) | |
| tree | 8747582586dda62dba3fafd8f2b5f6a3a4e18d14 /drivers/fpga/fpga-bridge.c | |
| parent | Revert "HID: logitech-dj: Add support for a new lightspeed receiver iteration" (diff) | |
| download | kernel-06ae5afce8cc1f7621cc5c7751e449ce20d68af7.tar.gz kernel-06ae5afce8cc1f7621cc5c7751e449ce20d68af7.zip | |
HID: hid-asus: add const to read-only outgoing usb buffer
In the function asus_kbd_set_report the parameter buf is read-only
as it gets copied in a memory portion suitable for USB transfer,
but the parameter is not marked as const: add the missing const and mark
const immutable buffers passed to that function.
Signed-off-by: Denis Benato <[email protected]>
Signed-off-by: Luke D. Jones <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
