[Letux-kernel] [BUG] Add missing <linux/string.h> include for strcmp.

Andrew Morton akpm at linux-foundation.org
Mon Nov 28 22:25:07 CET 2022


On Mon, 28 Nov 2022 18:15:55 +0100 "H. Nikolaus Schaller" <hns at goldelico.com> 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.


More information about the Letux-kernel mailing list