From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35E1FC433E7 for ; Fri, 9 Oct 2020 01:13:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9CED22242 for ; Fri, 9 Oct 2020 01:13:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VqsWlCob" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727327AbgJIBNo (ORCPT ); Thu, 8 Oct 2020 21:13:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725997AbgJIBNo (ORCPT ); Thu, 8 Oct 2020 21:13:44 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B74C0613D2 for ; Thu, 8 Oct 2020 18:13:42 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id r10so5792941pgb.10 for ; Thu, 08 Oct 2020 18:13:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version; bh=TEoBCSzY9uFYFy6tWWNr+nuw0LH099Qgb9F4FTOrTYw=; b=VqsWlCobYz4ZYmNjiQoP94R6mWnpXBeXcndhGhSx1zPGDMci64/N2y2C4TO3tgoHsE 3rWMgYJgVDDAmQepv5/MGdz5g3/TEFuAbm1M/e5mo7uXSUHQzig1mpoWU66Pimca//6C lLTRnnaxKDcPQDxmDiZckTYC1W+vR+5fKycM1mWeUgCtZz6qoZepfIyJzpPbRYDgBtxq qSFULwP/wb9skRdFvjJVRZsSu2dKa3Faz+RKt2qJ8i0Mm+jTF6ie5A0x8eLBXr8MmVIJ SdxHUhd14tAb5Uzv8zGvpnIG8dZnBcs1u/CkMro82anAtpc5GCpMY6Y2BlvLchDMf8KM HELw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:user-agent:mime-version; bh=TEoBCSzY9uFYFy6tWWNr+nuw0LH099Qgb9F4FTOrTYw=; b=Ayn69E9yNAIFDEVUlW2vVWvA0r4m1bJoVmSRIj9WU4lfpMCMB0u0FNMY6zYh14whqA cNCOPrQLXJJVBk2p1v7BBqkm/o6Xy8g+RNEHHFn1tQF1YDLWv17yZ1M3yt6S0AaEVZXP KiornvYBUsyRTDqdhRHMvuz9cw6DP3RNUWllbDYafDM3PibrrXEwuX4RaChxuY9SCfgY IS4OVp7yrsPNGm2CuFSZ618FDAtzItd9TfNhowxvgZAeY1oXYAMvVJFSybrYPSsZ/iIc d7Hy78WcBhQjLg1NCnj0yrvTlYejvykE+FTVdT5kVX8FDsfeo4/SGaXHLZI4DG3GvmvV uTcw== X-Gm-Message-State: AOAM531nxCBJqpiP772pUXq1gdboEIltnQHeWHWmyaHK8Y+wosOxneEk 72ueWb2VrnuxzKww7p6x31Y= X-Google-Smtp-Source: ABdhPJxioFL1U2aO0fQ8Bny8U4DnTi76pqDa9pFKeVF6cViZiTdEj/bPY8s/utdw+udf4NWHAfBX7Q== X-Received: by 2002:a63:2d05:: with SMTP id t5mr1401449pgt.178.1602206022228; Thu, 08 Oct 2020 18:13:42 -0700 (PDT) Received: from earth-mac.local.gmail.com (219x123x138x129.ap219.ftth.ucom.ne.jp. [219.123.138.129]) by smtp.gmail.com with ESMTPSA id i126sm8888666pfc.48.2020.10.08.18.13.39 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Oct 2020 18:13:41 -0700 (PDT) Date: Fri, 09 Oct 2020 10:13:37 +0900 Message-ID: From: Hajime Tazaki To: johannes@sipsolutions.net Cc: linux-um@lists.infradead.org, jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, tavi.purdila@gmail.com, linux-kernel-library@freelists.org, linux-arch@vger.kernel.org, retrage01@gmail.com Subject: Re: [RFC v7 06/21] scritps: um: suppress warnings if SRCARCH=um In-Reply-To: <5caf34d16a0f2816b47cd8712ca7d59e9733a815.camel@sipsolutions.net> References: <5caf34d16a0f2816b47cd8712ca7d59e9733a815.camel@sipsolutions.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/25.3 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org 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