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

Kees Cook
2022-11-07T03:47:30Z

On Mon, Nov 07, 2022 at 02:34:34PM +1100, Stephen Rothwell wrote:
> 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/20221107034631.never.637-kees@kernel.org

-Kees

--
Kees Cook