From patchwork Fri Apr 16 09:15:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Ivanov X-Patchwork-Id: 1466993 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=bDLKNIMG; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FMB1V0nWlz9sSC for ; Fri, 16 Apr 2021 19:36:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:References: To:Subject:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hxAbKtCBQGTfdDQIqxvmC4/C1nr49+WWP7pk5IjJdvY=; b=bDLKNIMG4Zz5zfO8LhBWbEw84 FJrRbcnAN5K5am/z2nBuwZ/6jjMa80nN70xO/zqzVkJ9Yy4fo3zPZZ7CMLq+MvrtDmkkYvbfV4BMt /nnYXLidI1dkXqk93pbPvoR557rNqyW2NMXeviopsQsc5OQyvO4x2SMw+RC6uutEGra2tLQUJJlO4 2KMzGiaPekBX7IGhhPvMdcTYTngpd/KRyOVY3PdhexiA3Qkfytpz08WA+XvV3sxOh//+hYfxnwzZo caBV+mQAZ27G20IzkLmCDPqmFBh8hqSO7hEm8hf+tuCBwyukzJO8Iil3i0e3tBSLS5BOkwRXBcMlq uH1h/kjsw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lXKo8-001YQL-DB; Fri, 16 Apr 2021 09:31:00 +0000 Received: from util-01.infra.openwrt.org ([46.101.232.90]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lXKZL-001Vah-8J for openwrt-devel@lists.openwrt.org; Fri, 16 Apr 2021 09:15:22 +0000 Received: from ivanoab7.miniserver.com ([37.128.132.42] helo=www.kot-begemot.co.uk) by util-01.infra.openwrt.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1lXKZF-0000RD-0s for openwrt-devel@openwrt.org; Fri, 16 Apr 2021 05:15:15 -0400 Received: from tun252.jain.kot-begemot.co.uk ([192.168.18.6] helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lXKZD-0006YM-A4 for openwrt-devel@openwrt.org; Fri, 16 Apr 2021 09:15:11 +0000 Received: from jain.kot-begemot.co.uk ([192.168.3.3]) by jain.kot-begemot.co.uk with esmtp (Exim 4.92) (envelope-from ) id 1lXKZ7-0007VN-Ph for openwrt-devel@openwrt.org; Fri, 16 Apr 2021 10:15:11 +0100 From: Anton Ivanov Subject: Fwd: [PATCH v2] uml: fix W=1 missing-include-dirs warnings To: openwrt-devel@openwrt.org References: <20210415171352.27398-1-rdunlap@infradead.org> Message-ID: Date: Fri, 16 Apr 2021 10:15:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210415171352.27398-1-rdunlap@infradead.org> Content-Language: en-US X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Score: -1.9 (-) X-Spam-Report: Spam detection software, running on the system "util-01.infra.openwrt.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see jo@mein.io for details. Content preview: Hi list, If memory serves me right, the UML build in OpenWRT adds a uapi subdir. This patch adds it upstream and will probably break the openwrt build once it propagates. Best Regards, Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: infradead.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210416_101520_201663_24673743 X-CRM114-Status: GOOD ( 10.55 ) X-Spam-Score: -2.3 (--) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi list, If memory serves me right, the UML build in OpenWRT adds a uapi subdir. This patch adds it upstream and will probably break the openwrt build once it propagates. Best Regards, Content analysis details: (-2.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [46.101.232.90 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_NONE SPF: sender does not publish an SPF Record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Hi list, If memory serves me right, the UML build in OpenWRT adds a uapi subdir. This patch adds it upstream and will probably break the openwrt build once it propagates. Best Regards, A. -------- Forwarded Message -------- Subject: [PATCH v2] uml: fix W=1 missing-include-dirs warnings Date: Thu, 15 Apr 2021 10:13:52 -0700 From: Randy Dunlap To: linux-kernel@vger.kernel.org CC: Randy Dunlap , Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, Jeff Dike , Richard Weinberger , Anton Ivanov , linux-um@lists.infradead.org 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 Cc: Masahiro Yamada Cc: Michal Marek Cc: linux-kbuild@vger.kernel.org Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux-um@lists.infradead.org --- v2: use Option 4 from v1: add arch/um/include/uapi so that 'make' is placated -- and just like all other arch's have. arch/um/include/uapi/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/um/include/uapi/asm/Kbuild b/arch/um/include/uapi/asm/Kbuild new file mode 100644 index 000000000000..f66554cd5c45 --- /dev/null +++ b/arch/um/include/uapi/asm/Kbuild @@ -0,0 +1 @@ +# SPDX-License-Identifier: GPL-2.0