diff options
author | Denis Benato <[email protected]> | 2023-11-17 14:15:55 +1300 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-11-22 11:23:19 +0100 |
commit | 06ae5afce8cc1f7621cc5c7751e449ce20d68af7 (patch) | |
tree | 8747582586dda62dba3fafd8f2b5f6a3a4e18d14 /tools/perf/util/trace-event-scripting.c | |
parent | 5b4ffb176d7979ac66b349addf3f7de433335e00 (diff) |
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions