Re: [PATCH v3] serial: make uart_console_write->putchar()'s character an unsigned char

From: Jiri Slaby
Date: Thu Mar 03 2022 - 06:36:26 EST


On 03. 03. 22, 12:30, Maciej W. Rozycki wrote:
It does, but, oh dear, it's a "solution" to a problem we have created in
the first place. Why do we ever want to have signed characters in the TTY
layer,

We don't. We use char, which is signed or unsigned, depending on arch. After all, this is text coming from printk layer, i.e. char * by convention coming from the standard.

thanks,
--
js
suse labs