Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15288153rwd; Sun, 25 Jun 2023 14:24:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75o0bfW2t8GY6hprpYIEM57TNGTtsQwSktR+3zGJKJxwK7Foqphp385fjMzmLpejxyEykw X-Received: by 2002:a17:90b:4382:b0:260:c881:d2b3 with SMTP id in2-20020a17090b438200b00260c881d2b3mr15773399pjb.44.1687728284039; Sun, 25 Jun 2023 14:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687728284; cv=none; d=google.com; s=arc-20160816; b=YuMfJA7hhjQhwaqLPyQRcKFjybqTuMx+GG4Ea9OEBQtFR233mQIKV/LLMMy1krolQc 2jfFShOt6XONTl2n/ecBW+Fxo7U2hbbN5vu7579l4JrdNK/K2Hpmv6gdo5x0IZi8ImVC vVhJI1otTYmT500yoeyo69vXuLEYgSElFZCPg8prcmkxXT/6liPF/qajDSroy4OorbH/ c8XMnaP+UQr7GxWmlF1FGyxsoyoe0RHV/6PfY3kGp6VSw8BDg6swyDznNBzd8g9ZaiP4 5a+e8P8slWkjDstxeOHLaM/hmKrHDlINT8P7+ZAmx9/b5OJpUXr3FejkZmAxDIU/7SOS fcmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=TQ2nEwWXzr1+n+UvxcLSJBlHcnAAsPpXbfsC1wvxVYY=; fh=tTYyehU8rd6drf+8gpuSLa/u6qVPW/VVvSAQYwgpSww=; b=GUYtq5Zjo6A2ifYoXAFpGmTZpk3DQwOGys767YdfGy9G03MzNOViVtIs61j1SFBCHM lgdLEGA2atqu43EqZEsnT2dTOWlE0p+ONIB7KPeyH2PiugqcS2hxcUBQHeqzjMY4aC7g J1BIxGtWHCWmXZOmBgDH1QZX2kOSAlpGfPOssfjmZMjCanTYv9uLDQPO6LO6t2IcPQP0 n4xwBvzQIuK6Q2BCio+N8PCI62J1iWjYCABIs597uMRDDjQ1gcMZy8+FD/AirqQLdOi8 ker5Wf2nNTzvgXvBkb/qyrtKJMFwuIPSigwrXbmFenFaD/icanfnV7MfXYW9W755GE/Z ujkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a655a8a000000b0054f77fab83asi3855488pgt.459.2023.06.25.14.24.31; Sun, 25 Jun 2023 14:24:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbjFYVHJ convert rfc822-to-8bit (ORCPT + 99 others); Sun, 25 Jun 2023 17:07:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjFYVHI (ORCPT ); Sun, 25 Jun 2023 17:07:08 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C526DDB; Sun, 25 Jun 2023 14:07:06 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qDWwo-002pbu-Pb; Sun, 25 Jun 2023 23:07:02 +0200 Received: from dynamic-089-014-168-195.89.14.pool.telefonica.de ([89.14.168.195] helo=[192.168.1.11]) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qDWwo-000N98-Gy; Sun, 25 Jun 2023 23:07:02 +0200 Message-ID: Subject: Re: [PATCH 1/4] sh: fix -Wmissing-include-dirs warnings for various platforms From: John Paul Adrian Glaubitz To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , kernel test robot , Rich Felker , Yoshinori Sato , linux-sh@vger.kernel.org Date: Sun, 25 Jun 2023 23:07:01 +0200 In-Reply-To: References: <20230219141555.2308306-1-masahiroy@kernel.org> <3c1b53fb670467b90138aaf3ef29bf235c2b4ffa.camel@physik.fu-berlin.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.3 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 89.14.168.195 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro! On Sun, 2023-06-25 at 16:56 +0900, Masahiro Yamada wrote: > On Sun, Feb 19, 2023 at 11:40 PM John Paul Adrian Glaubitz > wrote: > > > > Hi Masahiro! > > > > On Sun, 2023-02-19 at 23:15 +0900, Masahiro Yamada wrote: > > > The 0day bot reports a lot of warnings (or errors due to CONFIG_WERROR) > > > like this: > > > > > > cc1: error: arch/sh/include/mach-hp6xx: No such file or directory [-Werror=missing-include-dirs] > > > > > > Indeed, arch/sh/include/mach-hp6xx does not exist. > > > > > > -Wmissing-include-dirs is W=1 warning, but it may be annoying > > > when CONFIG_BTRFS_FS is enabled because fs/btrfs/Makefile > > > unconditionally adds this warning option. > > > > > > arch/sh/Makefile defines machdir-y for two purposes: > > > > > > - Build platform code in arch/sh/boards/mach-*/ > > > - Add arch/sh/include/mach-*/ to the header search path > > > > > > For the latter, some platforms use arch/sh/include/mach-common/ instead > > > of having its own arch/sh/include/mach-*/. > > > > > > Drop unneeded machdir-y to not include non-existing include directory. > > > > > > To build arch/sh/boards/mach-*/, use the standard obj-y syntax in > > > arch/sh/boards/Makefile. > > > > > > Reported-by: kernel test robot > > > Link: https://lore.kernel.org/oe-kbuild-all/202302190641.30VVXnPb-lkp@intel.com/ > > > Signed-off-by: Masahiro Yamada > > > --- > > > > Thanks for your patches! I'm still waiting for my kernel.org account to be created, > > so I can set up my own linux-sh tree. I hope that happens next week. There are already > > some patches piling up. > > > So, what has happened since then? I'll review and test these tomorrow when I'm back in the office. Unless there are any issues, I am going to pick the series up for 6.5. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913