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-10-08 07:17:07 +02:00
2023-08-04 13:30:44 +01:00
2023-08-14 13:10:01 +01:00
2019-06-19 17:09:55 +02:00
2023-08-14 13:10:01 +01:00
2019-12-09 18:35:37 +00:00
2019-08-30 12:22:46 +01:00
2019-05-30 11:26:41 -07:00
2022-05-16 12:58:38 +01:00
2023-01-12 10:53:12 +01:00
2023-01-12 10:53:12 +01:00
2020-08-23 17:36:59 -05:00
2020-07-23 19:07:21 +01:00
2022-04-14 17:37:21 +01:00
2023-08-14 13:10:01 +01:00
2019-06-19 17:09:55 +02:00
2023-05-08 08:47:06 +09:00
2022-07-07 17:16:21 +01:00
2023-05-23 13:55:55 +01:00
2023-08-14 13:10:01 +01:00
2019-06-05 17:37:07 +02:00
2023-08-14 13:10:01 +01:00
2019-06-05 17:37:07 +02:00
2022-04-14 17:37:21 +01:00
2022-04-12 21:08:10 +01:00
2022-04-14 17:37:21 +01:00
2020-07-23 19:52:24 +01:00
2020-07-23 19:52:24 +01:00
2020-07-23 19:52:21 +01:00
2020-07-23 19:52:21 +01:00