summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-11-07 06:46:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-08 17:47:25 +0300
commit5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0 (patch)
tree9b11cd4f414eaefb36ebef9d0649660d78587ae7 /drivers/tty/tty_buffer.c
parent15730dc45dc7432713c7af9ee5abad76872f6405 (diff)
downloadlinux-5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0.tar.xz
tty: Move TIOCSTI toggle variable before kerndoc
The variable "tty_legacy_tiocsti" should be defined before the kerndoc for the tiocsti() function. The new variable was breaking the "htmldocs" build target: drivers/tty/tty_io.c:2271: warning: cannot understand function prototype: 'bool tty_legacy_tiocsti __read_mostly = IS_ENABLED(CONFIG_LEGACY_TIOCSTI); ' Fixes: 83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/lkml/20221107143434.66f7be35@canb.auug.org.au Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20221107034631.never.637-kees@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions