Re: [PATCH 06/11] tty: vt: remove struct uni_screen

From: Ilpo Järvinen
Date: Thu Jan 12 2023 - 04:45:39 EST


On Thu, 12 Jan 2023, Jiri Slaby (SUSE) wrote:

> It contains only lines with pointers to characters (u32s). So use
> simple clear 'u32 **lines' all over the code.
>
> This avoids zero-length arrays. It also makes the allocation less
> error-prone (size of the struct wasn't taken into account at all).
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>

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

--
i.