Denis Benato
27714a22a1
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:17:41 +01:00
..
2023-05-11 23:00:33 +09:00
2023-03-10 09:39:29 +01:00
2023-10-10 21:59:08 +02:00
2021-11-18 19:15:59 +01:00
2021-09-01 22:00:06 +02:00
2021-05-05 14:29:13 +02:00
2019-05-30 11:26:32 -07:00
2022-08-17 14:23:57 +02:00
2022-01-27 11:04:27 +01:00
2020-03-13 17:33:11 +01:00
2023-12-20 15:17:41 +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:27:13 +01:00
2023-03-10 09:39:31 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2021-07-28 11:51:07 +02:00
2023-12-03 07:31:22 +01:00
2021-12-14 10:57:06 +01:00
2020-08-17 11:38:49 +02:00
2023-11-20 11:08:23 +01:00
2019-09-03 16:52:04 +02:00
2020-10-23 13:23:44 +02:00
2023-12-03 07:31:22 +01:00
2019-10-03 15:36:40 -04:00
2022-06-09 10:22:47 +02:00
2023-03-03 11:45:52 +01:00
2022-03-16 14:23:35 +01:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01: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:17:40 +01:00
2023-06-09 10:32:27 +02:00
2021-05-27 15:40:34 +02:00
2019-05-30 11:26:32 -07:00
2023-10-25 11:59:00 +02:00
2021-12-29 12:28:37 +01:00
2019-10-03 15:36:40 -04:00
2022-11-16 09:58:15 +01:00
2019-05-30 11:26:32 -07:00
2023-12-20 15:17:40 +01:00
2023-03-10 09:39:52 +01:00
2022-12-14 11:37:21 +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-04-07 18:46:20 +02:00
2019-05-30 11:26:32 -07:00
2022-06-09 10:22:47 +02:00
2023-12-20 15:17:34 +01:00
2019-10-03 15:36:40 -04:00
2019-10-03 15:36:40 -04:00
2022-12-14 11:37:21 +01:00
2021-05-05 14:39:24 +02:00
2021-12-14 10:57:06 +01:00
2019-10-03 15:36:40 -04:00
2023-09-19 12:22:48 +02:00
2023-11-20 11:08:24 +01:00
2020-08-17 11:38:49 +02:00
2022-10-29 10:12:55 +02:00
2022-12-31 13:14:46 +01:00
2020-11-25 14:30:33 +01:00
2020-09-02 12:55:46 -07:00
2019-05-30 11:26:32 -07:00
2023-12-20 15:17:40 +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
2021-04-07 18:46:20 +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-12 11:58:46 +01:00
2023-02-06 07:59:00 +01:00
2019-06-05 17:36:37 +02:00
2021-12-14 10:57:06 +01:00
2023-12-20 15:17:40 +01:00
2019-05-30 11:26:32 -07:00
2020-10-23 16:16:31 -07:00
2021-12-14 10:57:06 +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 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:57:06 +01:00
2021-12-14 10:57:06 +01:00
2019-05-30 11:26:32 -07:00
2022-10-26 12:35:48 +02:00
2022-11-10 18:15:34 +01:00
2021-12-14 10:57:06 +01:00
2021-05-05 14:21:08 +02:00
2022-12-31 13:14:11 +01:00
2021-05-05 14:36:18 +02:00
2019-05-30 11:26:35 -07:00
2023-10-10 21:59:08 +02:00
2019-05-30 11:26:32 -07:00
2022-09-05 10:30:06 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-09-05 10:30:08 +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
2019-05-30 11:29:19 -07:00
2021-12-14 10:57:05 +01:00
2022-12-21 17:36:38 +01:00
2022-01-27 11:03:55 +01:00
2019-02-21 12:00:54 +01:00
2021-04-07 18:46:20 +02: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:23:35 +01:00
2019-05-30 11:26:32 -07:00
2021-01-07 10:14:58 +01: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:30:07 +02:00
2021-12-14 10:57:05 +01:00
2021-08-20 14:53:54 +02:00
2023-03-22 13:31:37 +01:00
2023-09-06 21:28:38 +01:00
2023-09-06 21:28:38 +01:00
2023-09-06 21:28:38 +01:00
2023-09-06 21:28:38 +01:00