diff options
author | Denis Benato <benato.denis96@gmail.com> | 2023-11-17 04:15:55 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-11-22 13:23:19 +0300 |
commit | 06ae5afce8cc1f7621cc5c7751e449ce20d68af7 (patch) | |
tree | 8747582586dda62dba3fafd8f2b5f6a3a4e18d14 /scripts/gdb/linux/pgtable.py | |
parent | 5b4ffb176d7979ac66b349addf3f7de433335e00 (diff) | |
download | linux-06ae5afce8cc1f7621cc5c7751e449ce20d68af7.tar.xz |
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 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions