diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2023-12-06 08:36:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-08 12:02:37 +0100 |
commit | b7a43d0c878169037c7a08985b1d444f1e4b0629 (patch) | |
tree | 88d799239f6154e4f33dfabc3908a95487459aed | |
parent | 2f982313279baa066f03f4816f3fa3521a4d41cb (diff) |
tty: m68k: nfcon: convert to u8 and size_t
Switch character types to u8 and sizes to size_t. To conform to
characters/sizes in the rest of the tty layer.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: [email protected]
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | arch/m68k/emu/nfcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/emu/nfcon.c b/arch/m68k/emu/nfcon.c index 3a74d493eb3e..17b2987c2bf5 100644 --- a/arch/m68k/emu/nfcon.c +++ b/arch/m68k/emu/nfcon.c @@ -23,9 +23,9 @@ static int stderr_id; static struct tty_port nfcon_tty_port; static struct tty_driver *nfcon_tty_driver; -static void nfputs(const char *str, unsigned int count) +static void nfputs(const u8 *str, size_t count) { - char buf[68]; + u8 buf[68]; unsigned long phys = virt_to_phys(buf); buf[64] = 0; |