diff options
| author | Janusz Krzysztofik <[email protected]> | 2023-10-07 21:38:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-08 05:17:07 +0000 |
| commit | b3fa3cf02e3ce92d32bfdeedd5a6bd0825f55a14 (patch) | |
| tree | d4eef48720a6a6cb22087a4dfdca6c8672bf4bac /tools/net/ynl/generated/netdev-user.h | |
| parent | serial: core: Fix checks for tx runtime PM state (diff) | |
| download | kernel-b3fa3cf02e3ce92d32bfdeedd5a6bd0825f55a14.tar.gz kernel-b3fa3cf02e3ce92d32bfdeedd5a6bd0825f55a14.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.h')
0 files changed, 0 insertions, 0 deletions
