Re: linux-next: build failure after merge of the input tree

From: Dmitry Torokhov
Date: Wed Jul 02 2025 - 00:02:12 EST


On Wed, Jul 02, 2025 at 01:47:32PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the input tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> drivers/input/input.c: In function 'input_bits_to_string':
> drivers/input/input.c:1007:13: error: implicit declaration of function 'in_compat_syscall' [-Wimplicit-function-declaration]
> 1007 | if (in_compat_syscall()) {
> | ^~~~~~~~~~~~~~~~~
>
> Presumably caused by commit
>
> de7dd46319bb ("Input: stop including input-compat.h")
>
> I have used the input tree from next-20250701 for today.
>

Thanks Stephen, I better drop that patch and instead move this chunk of
code into input-compat.c as well.

--
Dmitry