Janusz Krzysztofik
b3fa3cf02e
ASoC: ti: ams-delta: Fix cx81801_receive() argument types
...
Since types of arguments accepted by tty_ldis_ops::receive_buf() have
changed, the driver no longer builds.
.../linux/sound/soc/ti/ams-delta.c:403:24: error: initialization of 'void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types]
403 | .receive_buf = cx81801_receive,
Fix it.
Fixes: e8161447bb0c ("tty: make tty_ldisc_ops::*buf*() hooks operate on size_t")
Fixes: 892bc209f250 ("tty: use u8 for flags")
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Link: https://lore.kernel.org/r/20231007213820.376360-1-jmkrzyszt@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-08 07:17:07 +02:00
..
2023-08-14 13:10:03 +01:00
2023-09-12 13:16:30 +01:00
2023-03-20 13:07:18 +00:00
2023-09-01 15:38:29 +02:00
2023-08-14 13:10:15 +01:00
2023-08-14 13:10:06 +01:00
2023-08-14 13:10:22 +01:00
2023-09-15 17:14:20 +01:00
2023-08-28 16:55:11 +02:00
2023-09-15 13:16:21 +01:00
2023-08-24 18:22:01 +01:00
2023-05-17 10:37:07 +09:00
2023-08-14 13:10:30 +01:00
2023-08-14 13:10:08 +01:00
2023-09-15 13:16:20 +01:00
2023-08-14 13:10:21 +01:00
2023-03-20 13:08:35 +00:00
2023-08-14 13:10:28 +01:00
2023-08-28 16:13:03 +02:00
2023-09-11 01:23:53 +01:00
2023-03-20 13:08:44 +00:00
2023-08-22 12:48:31 +01:00
2023-08-28 16:13:03 +02:00
2023-08-15 19:23:00 +01:00
2023-08-16 14:47:20 +01:00
2023-09-11 01:23:54 +01:00
2023-09-15 17:14:22 +01:00
2023-03-20 13:09:02 +00:00
2023-08-14 13:10:29 +01:00
2023-08-14 13:10:10 +01:00
2023-09-01 15:38:29 +02:00
2023-08-14 13:10:17 +01:00
2023-09-11 01:23:51 +01:00
2023-10-08 07:17:07 +02:00
2023-08-14 13:10:27 +01:00
2023-08-14 13:10:16 +01:00
2023-03-20 13:09:34 +00:00
2023-03-20 13:09:35 +00:00
2023-07-18 15:19:03 +01:00
2023-06-15 13:53:24 +01:00
2023-07-31 23:24:01 +01:00
2023-09-01 15:38:49 +02:00
2023-08-28 16:56:54 +02:00
2023-08-24 21:10:45 +01:00
2023-08-14 13:10:00 +01:00
2023-08-15 13:25:55 +01:00
2023-09-01 15:38:49 +02:00
2023-08-14 22:10:35 +01:00
2023-09-11 01:23:56 +01:00
2023-08-28 16:13:03 +02:00
2023-09-11 01:23:50 +01:00