Re: [PATCH 06/36] tty/vt: consolemap: convert macros to static inlines

From: Ilpo Järvinen
Date: Tue Jun 07 2022 - 09:32:12 EST


On Tue, 7 Jun 2022, Jiri Slaby wrote:

> This commit changes !CONFIG_CONSOLE_TRANSLATIONS definitions to real
> (inline) functions. So the commit:
> * makes type checking much stronger,
> * removes the need of many parentheses and casts, and
> * makes the code more readable.
>
> Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>


--
i.