diff options
| author | Kees Cook <[email protected]> | 2022-11-07 03:46:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-11-08 14:47:25 +0000 |
| commit | 5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0 (patch) | |
| tree | 9b11cd4f414eaefb36ebef9d0649660d78587ae7 /drivers/tty/tty_buffer.c | |
| parent | tty: Cleanup tty buffer align mask (diff) | |
| download | kernel-5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0.tar.gz kernel-5c30f3e4a6e67c88c979ad30554bf4ef9b24fbd0.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Cc: Jiri Slaby <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions
