aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/console.h
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-01-22 12:03:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 18:08:55 -0800
commitfd1ca819710a435cf14988caa7f0d984464015b6 (patch)
treec12be3dc760f9ddd96dc08abe5eb99e2193500e5 /include/linux/console.h
parenttty: vt: remove consw::con_screen_pos() (diff)
downloadwireguard-linux-fd1ca819710a435cf14988caa7f0d984464015b6.tar.xz
wireguard-linux-fd1ca819710a435cf14988caa7f0d984464015b6.zip
tty: vt: make types of screenpos() more consistent
* parameter offset: it is expected to be non-negative, so switch to unsigned * return type: switch from ushort to explicit u16. This is expected on most places. And fix the remaining two places too. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Tested-by: Helge Deller <deller@gmx.de> # parisc STI console Link: https://lore.kernel.org/r/20240122110401.7289-42-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/console.h')
0 files changed, 0 insertions, 0 deletions