diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2024-01-22 12:03:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 18:08:54 -0800 |
| commit | 8d5cc8eed738e3202379722295c626cba0849785 (patch) | |
| tree | 9fb0c71b332bef9478f5aa25f25721e5f25c4585 /include/uapi/linux | |
| parent | a292e3fc94cb9795bbba4ddac075a9055cd58a5e (diff) | |
tty: vt: make consw::con_switch() return a bool
The non-zero (true) return value from consw::con_switch() means a redraw
is needed. So make this return type a bool explicitly instead of int.
The latter might imply that -Eerrors are expected. They are not.
And document the hook.
Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Tested-by: Helge Deller <[email protected]> # parisc STI console
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions