Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp90983pxb; Thu, 15 Apr 2021 23:59:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzo5VJD6fkg6ms5y8jV7pLmtJIiuuXtIS1PZUq9ztGWTNG/T9GPAP4vCk1CUIG7AHTuOINX X-Received: by 2002:a63:e707:: with SMTP id b7mr6751477pgi.389.1618556378901; Thu, 15 Apr 2021 23:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618556378; cv=none; d=google.com; s=arc-20160816; b=Qy6ml1vEQZE2iSGcyzQxbYBb7/1McsQ3YdGv4EIL2bwq93efJqERQdT3Ocw45RqQUo lVtPU4R1GvpM753mzj5afyRIjzvaJl+HNMRWBa/tWtjDcerLuY54tDsTReCr5q42wT1C eHJckMd+NYJ6JS5ucyo+YBNAw0V3iUsCPqAGH0AJWwM3mmj/9NkY//nxjqPa++ccoYYl i7ioMKJnNK8TRslXhrIwuBP3uKOacY4Pwinc9iQqGvM/9ic3s2nrwMcW4QyuiM3j/xal +iTJftu5iH6XRecGA1vbbqLCdibKme/Gj8K10Ds8YgqV+CZy4HfuVSj7v6F8m3bCtWAx m0tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject; bh=6CqumgsvSG8qvFoskRAOoo0zY980KBQwA+O/LQDGckM=; b=al8qYxD5nNhZbx/ZWtFIvOz2ODI/vFh8d+G1ikUS+PKdzeYZX38O817bMMqndCfoC6 Myyik2rxAXGEbVj4xfYpAFk0JUKLoLqYBdIZdYqj4I3q28ymyZZ5ZINDpgYsIG/FjnVB gUfBpatfzjOZ6XFPzslMNKpnDRj+c8daMoVB8eiC7M+iqnLUvwnDHz3mWBqbiy8HG3GR Wej3LWxr9j0TjlZSrwMyD0W18SG6gCaqsqY1x0WqDWbnYGCmF+4g2CIhMrN0KjneieNj SbIC+PhF4F09tE4CCyKHzotmP8Ag28GugYbEoWfgDieIFLvO205MFXu6RAesQuHWR9Hl oe2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si6450431plk.250.2021.04.15.23.59.27; Thu, 15 Apr 2021 23:59:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236787AbhDPGMX (ORCPT + 99 others); Fri, 16 Apr 2021 02:12:23 -0400 Received: from ivanoab7.miniserver.com ([37.128.132.42]:41126 "EHLO www.kot-begemot.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbhDPGMX (ORCPT ); Fri, 16 Apr 2021 02:12:23 -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 1lXHhi-0005kc-N1; Fri, 16 Apr 2021 06:11:48 +0000 Received: from madding.kot-begemot.co.uk ([192.168.3.98]) by jain.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lXHhf-00024s-Lp; Fri, 16 Apr 2021 07:11:46 +0100 Subject: Re: [PATCH v2] uml: fix W=1 missing-include-dirs warnings To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, Jeff Dike , Richard Weinberger , linux-um@lists.infradead.org References: <20210415171352.27398-1-rdunlap@infradead.org> From: Anton Ivanov Organization: Cambridge Greys Message-ID: Date: Fri, 16 Apr 2021 07:11:43 +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-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/04/2021 18:13, Randy Dunlap 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 > 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 > > _______________________________________________ > linux-um mailing list > linux-um@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-um > +1 I will forward it to openwrt-dev. Their build process adds uapi to uml, so if we are going to change this, it will be nice to give them a heads-up. Acked-By: Anton Ivanov -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/