lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/36] tty/vt: consolemap: convert macros to static inlines
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@suse.cz>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>


--
i.
\
 
 \ /
  Last update: 2022-06-07 15:34    [W:0.260 / U:4.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site