Denis Benato
5984306f6c
HID: hid-asus: add const to read-only outgoing usb buffer
...
[ Upstream commit 06ae5afce8cc1f7621cc5c7751e449ce20d68af7 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-20 15:44:36 +01:00
..
2022-04-08 14:40:15 +02:00
2023-02-01 08:23:09 +01:00
2021-10-06 15:56:03 +02:00
2021-06-18 10:00:03 +02:00
2019-05-30 11:26:32 -07:00
2022-08-21 15:16:01 +02:00
2022-01-27 10:54:11 +01:00
2020-03-13 17:33:11 +01:00
2023-12-20 15:44:36 +01:00
2019-05-21 10:50:45 +02:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2023-02-01 08:23:15 +01:00
2023-03-11 16:39:39 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-06-05 17:36:37 +02:00
2023-12-08 08:46:08 +01:00
2021-12-14 11:32:34 +01:00
2020-08-17 11:38:49 +02:00
2023-11-20 11:06:51 +01:00
2019-09-03 16:52:04 +02:00
2020-10-23 13:23:44 +02:00
2023-12-08 08:46:08 +01:00
2019-10-03 15:36:40 -04:00
2022-06-09 10:21:02 +02:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-08-22 17:11:58 +02:00
2023-12-20 15:44:33 +01:00
2023-06-09 10:30:13 +02:00
2021-06-18 10:00:04 +02:00
2019-05-30 11:26:32 -07:00
2023-10-25 11:54:23 +02:00
2021-12-29 12:25:54 +01:00
2019-10-03 15:36:40 -04:00
2022-11-16 09:57:08 +01:00
2019-05-30 11:26:32 -07:00
2023-12-20 15:44:33 +01:00
2023-03-11 16:39:52 +01:00
2022-12-21 17:32:07 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-06-09 10:21:02 +02:00
2023-12-20 15:44:27 +01:00
2019-10-03 15:36:40 -04:00
2019-10-03 15:36:40 -04:00
2022-12-14 11:31:59 +01:00
2017-11-02 11:10:55 +01:00
2020-08-23 17:36:59 -05:00
2021-12-14 11:32:34 +01:00
2017-11-02 11:10:55 +01:00
2019-10-03 15:36:40 -04:00
2023-09-19 12:20:19 +02:00
2023-11-20 11:06:52 +01:00
2020-08-17 11:38:49 +02:00
2022-10-30 09:41:16 +01:00
2019-01-14 20:11:01 +01:00
2023-01-14 10:16:23 +01:00
2021-03-11 14:17:24 +01:00
2020-09-02 12:55:46 -07:00
2019-05-30 11:26:32 -07:00
2023-12-20 15:44:35 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:30:28 +02:00
2020-09-03 16:18:55 +02:00
2019-08-22 17:11:58 +02:00
2019-06-05 17:30:28 +02:00
2020-04-01 12:26:12 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-05-30 11:26:35 -07:00
2023-01-14 10:16:26 +01:00
2019-06-05 17:36:37 +02:00
2021-12-14 11:32:34 +01:00
2023-12-20 15:44:34 +01:00
2018-06-25 15:23:40 +02:00
2019-05-30 11:26:32 -07:00
2020-10-23 16:16:31 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 11:32:34 +01:00
2021-12-14 11:32:34 +01:00
2019-05-30 11:26:32 -07:00
2022-10-26 13:25:53 +02:00
2022-11-10 18:14:23 +01:00
2021-12-14 11:32:34 +01:00
2023-01-14 10:15:31 +01:00
2021-06-18 10:00:03 +02:00
2019-05-30 11:26:35 -07:00
2020-05-26 11:00:49 +02:00
2019-05-30 11:26:32 -07:00
2022-09-05 10:28:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:19 -07:00
2021-12-14 11:32:33 +01:00
2022-12-21 17:32:07 +01:00
2022-01-27 10:54:02 +01:00
2019-02-21 12:00:54 +01:00
2019-02-21 12:00:54 +01:00
2019-02-21 12:00:54 +01:00
2020-07-20 12:24:41 +02:00
2019-02-21 12:00:53 +01:00
2022-03-16 14:15:56 +01:00
2019-05-30 11:26:32 -07:00
2020-09-07 16:03:51 +02:00
2019-05-30 11:26:32 -07:00
2020-06-19 14:17:22 +02:00
2020-06-19 14:17:22 +02:00
2019-05-30 11:26:32 -07:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2022-09-05 10:28:56 +02:00
2021-12-14 11:32:34 +01:00
2020-09-30 22:44:26 +02:00
2023-03-22 13:30:08 +01:00
2023-09-19 12:20:02 +02:00
2023-09-19 12:20:02 +02:00
2023-09-19 12:20:02 +02:00
2023-09-19 12:20:02 +02:00