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

From: Kees Cook
Date: Sun Nov 06 2022 - 22:47:30 EST


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@xxxxxxxxxx

-Kees

--
Kees Cook