| Date | Thu, 12 Jan 2023 11:42:05 +0200 (EET) | From | Ilpo Järvinen <> | Subject | Re: [PATCH 06/11] tty: vt: remove struct uni_screen |
| |
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@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-- i.
|