Skip to contentSkip to conversation

linux-next: build warning after merge of the tty tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 7, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the tty tree, today's linux-next build (htmldocs) produced this warning:

drivers/tty/tty_io.c:2271: warning: cannot understand function prototype: 'bool tty_legacy_tiocsti __read_mostly = IS_ENABLED(CONFIG_LEGACY_TIOCSTI); '

Introduced by commit

83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the tty tree, today's linux-next build (htmldocs) produced this warning:

drivers/tty/tty_io.c:2271: warning: cannot understand function prototype: 'bool tty_legacy_tiocsti __read_mostly = IS_ENABLED(CONFIG_LEGACY_TIOCSTI); '

Introduced by commit

83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled")

Whoops! Thank you for the report. I've sent a fix:
https://lore.kernel.org/lkml/[email protected]

-Kees

Signature · 1 line
Kees Cook