diff options
| author | 2025-08-14 09:24:55 +0200 | |
|---|---|---|
| committer | 2025-08-17 12:46:26 +0200 | |
| commit | e730c373b6ff16a177e132859bf6ea4dbb15105f (patch) | |
| tree | 00f6c993a2fc45c69440a01b0657e0e25380106b /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | tty/vt: use guard()s in con_font_set/get() and con_{set,get}_unimap() (diff) | |
tty/vt: use guard()s
Having all the new guards, use them in the vt code. This improves
readability, makes error handling easier, and marks locked portions of
code explicit.
A local free_page_ptr __free guard is introduced for
__get_free_page/free_page (with proper casts). This could be made public
in include/. But I am not sure if there are more possible users, so
keeping completely private here.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250814072456.182853-16-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
