lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/36] tty/vt: consolemap: use ARRAY_SIZE()
On Tue, 7 Jun 2022, Jiri Slaby wrote:

> The code uses constants as bounds in loops. Use ARRAY_SIZE() with
> appropriate parameters instead. This makes the loop bounds obvious.
>
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>

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

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