aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDenis Benato <benato.denis96@gmail.com>2023-11-17 14:15:55 +1300
committerJiri Kosina <jkosina@suse.cz>2023-11-22 11:23:19 +0100
commit06ae5afce8cc1f7621cc5c7751e449ce20d68af7 (patch)
tree8747582586dda62dba3fafd8f2b5f6a3a4e18d14 /tools/perf/scripts/python/gecko.py
parent5b4ffb176d7979ac66b349addf3f7de433335e00 (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 <benato.denis96@gmail.com> Signed-off-by: Luke D. Jones <luke@ljones.dev> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions