Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp14647620rwd; Sun, 25 Jun 2023 01:30:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Hvl+8cSdPa0yojR5bGRrQf35P2Cb94wfS+vYTK9kypkfX+OpN1tKg2lCDiV4u4hmeOMex X-Received: by 2002:a92:dc85:0:b0:340:aeac:456d with SMTP id c5-20020a92dc85000000b00340aeac456dmr24672421iln.18.1687681820985; Sun, 25 Jun 2023 01:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687681820; cv=none; d=google.com; s=arc-20160816; b=u+sxDtIf8418sfVzlP9uHIb8LtljJAcb3ke5uzJCEsQWOEjX1nmuvYONDwTduNxTuE K+oic0nqjkAONCXuEVh1BH3FUJ+B5y7hEakjlzZOYoObbZAaYPefL6aZM4vXKkK49KQa gZ8M5KKuWeqf589nUnjdVNioZKuA6jQbPzc7C9rXcDg6Ouo5EmX9w/YxBW+cvghOzS+x zwGQ7FDeXcBnxPW2fq6Avmu6ZU3ZIRQ4+Yb1vJa/xBcBbU1g4pXjOmR5gyrGumDoOCbD 6tpVhkOusQvsPYJ7heIZObWoCJyiDDJ3mRrJNjFdXMifBksHYNc1VbFA8ShxZ4PkVjVf +5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding; bh=aFrG0G8vLnPuE11a8FohBw1JGN3FcV8C5ESP9iongXc=; fh=S3wojkLzjwDVGKse5xx6KPoVCAe0UNn7b1EnpNTUjbo=; b=AiKMMngjjDHAFdFN8oE5DtPBdJ32niYvPxLC/ifwubFVpK9S6nG+NE4mnQ+WSrxM02 vktVQ9tcJK3ybK9DGNbndKbczHc1oqh6H+uBDRrmUwuYHKkVLu3KT5goOtLa/OaLUGw5 MGPamtoD3s7AyIY1/Kh0qeeRXhEQnDTvNTlEAARm7JSc1zT/qyK6ZT+wTXYk5ea+/pAs GiwUDuNIEj+MPEtaATqmIJXEZsCTXegnPKCCRPwHdNLANAQn0JosKKC5QaRtVJaWO1+b /4wp5WhNSqtnBSHf6mE6W+4hLJj49QPRV3XfNgHNS3mysMRC4UR9U5KFvZ8pnyqeBNiG wm5Q== 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 c17-20020a63da11000000b0055338653beesi2779780pgh.271.2023.06.25.01.30.08; Sun, 25 Jun 2023 01:30:20 -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 S231627AbjFYIL3 convert rfc822-to-8bit (ORCPT + 99 others); Sun, 25 Jun 2023 04:11:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbjFYIL1 (ORCPT ); Sun, 25 Jun 2023 04:11:27 -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 927C2E53; Sun, 25 Jun 2023 01:11:25 -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 1qDKq8-0012ki-HS; Sun, 25 Jun 2023 10:11:20 +0200 Received: from tmo-087-130.customers.d1-online.com ([80.187.87.130] helo=smtpclient.apple) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (envelope-from ) id 1qDKq8-002gaQ-6u; Sun, 25 Jun 2023 10:11:20 +0200 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT From: John Paul Adrian Glaubitz Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 1/4] sh: fix -Wmissing-include-dirs warnings for various platforms Date: Sun, 25 Jun 2023 10:11:09 +0200 Message-Id: References: 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 In-Reply-To: To: Masahiro Yamada X-Mailer: iPhone Mail (20F75) X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 80.187.87.130 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 > On Jun 25, 2023, at 9:57 AM, 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? Sorry, these somehow went off my radar. I’ll have a look later today. Adrian