mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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)" <jirislaby@kernel.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: linux-m68k@lists.linux-m68k.org Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20231206073712.17776-15-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2f98231327
commit
b7a43d0c87
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue