Re: [PATCH v2] uml: fix W=1 missing-include-dirs warnings
From: Masahiro Yamada
Date: Fri Apr 16 2021 - 01:53:05 EST
On Fri, Apr 16, 2021 at 4:14 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> On Fri, Apr 16, 2021 at 2:14 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> >
> > Currently when using "W=1" with UML builds, there are over 700 warnings
> > like so:
> >
> > CC arch/um/drivers/stderr_console.o
> > cc1: warning: ./arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
> >
> > but arch/um/ does not have include/uapi/ at all, so add that
> > subdir and put one Kbuild file into it (since git does not track
> > empty subdirs).
> >
> > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> > Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> > Cc: Michal Marek <michal.lkml@xxxxxxxxxxx>
> > Cc: linux-kbuild@xxxxxxxxxxxxxxx
> > Cc: Jeff Dike <jdike@xxxxxxxxxxx>
> > Cc: Richard Weinberger <richard@xxxxxx>
> > Cc: Anton Ivanov <anton.ivanov@xxxxxxxxxxxxxxxxxx>
> > Cc: linux-um@xxxxxxxxxxxxxxxxxxx
> > ---
> > v2: use Option 4 from v1: add arch/um/include/uapi so that 'make' is
> > placated -- and just like all other arch's have.
>
>
>
> Assuming the UML maintainer will pick up this:
>
> Reviewed-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Now I see this patch queued up to UML repository.
Thanks.
--
Best Regards
Masahiro Yamada