diff options
| author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-01-12 09:01:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 15:06:42 +0100 |
| commit | feb36abbedea2644bf31693aa287a33a3a9fbd7c (patch) | |
| tree | 80acc832103c8fcabb61bd5873cfcd6cc7266c4f /scripts/gdb/linux/timerlist.py | |
| parent | 0c8414a68272d98889e21f8d130dc6e03689c289 (diff) | |
tty: vt: remove struct uni_screen
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>
Link: https://lore.kernel.org/r/20230112080136.4929-6-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions
