[RFC v7 06/21] scritps: um: suppress warnings if SRCARCH=um

Hajime Tazaki thehajime at gmail.com
Thu Oct 8 21:13:37 EDT 2020


On Thu, 08 Oct 2020 00:24:17 +0900,
Johannes Berg wrote:
> 
> On Tue, 2020-10-06 at 18:44 +0900, Hajime Tazaki wrote:
> > This commit fixes numbers of warning messages about leaked CONFIG
> > options.
> 
> No it doesn't ... it suppresses them, not a fan at all.

Agree to rewrite the description.

> > nommu mode of UML requires copies of kernel headers to offer
> > syscall-like API for the library users.  Thus, the warnings are to be
> > avoided to function this exposure of API.
> 
> I don't see that here, so maybe make that part of the patch where it
> actually happens, with a big comment,

Although I didn't, this patch should Cc the maintainer of
./scripts/headers_install.sh.  I thought this should be as a separate
one, but I can Cc (in the commit message) to the commit that actual
build happens if that helps to understand.

> and maybe only when actually building for NOMMU/LKL?

The standalone UML doesn't use the headers_install.sh script (AFAIK),
so I think this would be okay.

-- Hajime




More information about the linux-um mailing list