Re: [BUG] Add missing <linux/string.h> include for strcmp.
From: Andrew Morton
Date: Mon Nov 28 2022 - 16:25:32 EST
On Mon, 28 Nov 2022 18:15:55 +0100 "H. Nikolaus Schaller" <hns@xxxxxxxxxxxxx> wrote:
> starting with v6.1-rc7 I can't build my tree any more:
>
> HOSTCC scripts/mod/modpost.o - due to target missing
> In file included from include/linux/string.h:5,
> from scripts/mod/../../include/linux/license.h:5,
> from scripts/mod/modpost.c:24:
> include/linux/compiler.h:246:10: fatal error: asm/rwonce.h: No such file or directory
> 246 | #include <asm/rwonce.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
>
> Bisect did show your patch as the first bad one:
>
> commit 50c697215a8c "Add missing <linux/string.h> include for strcmp."
>
> Reverting it makes compile succeed.
Thanks. I queued a reversion patch.