Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp56170pxk; Mon, 5 Oct 2020 17:37:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwM/7ZaBqGFtSFqozkDbNVwWNQFd0t883eR4aAJKi4aH9pePIuKSTBDCFq+J1G5LFBNw+Sr X-Received: by 2002:a17:906:1c0f:: with SMTP id k15mr2374842ejg.343.1601944623456; Mon, 05 Oct 2020 17:37:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601944623; cv=none; d=google.com; s=arc-20160816; b=BwSO8Dg+IrP21NbRER1BDXIqZ0c1MRusKKCwpv9UfDBPRtvmGv4tCxPK+WKvMc97R2 2a2RRcO/mUf9UfMZ2aqenEdtFXZxhe0r39wpGZI4biohedNQ8i8skgJBc+l/ftQYIOQ+ B3s+Ne0onitzSL2zT/BCZUcoykjQjcVEWkrvR7+nWPD6+2MgR299u99EUL+CN3YsDDbQ +E0Fh5cRtEzVrYY4MaGD9hBUEDgVROa9QiaKygQiHqpx0KnXo4wutG6r6pozepboW+s7 RtYXJwJngFu0ZKGXjmo4yXWoVVbD2SE4Ky5XXHn49Vkah1ZfLuJwjvI91iygyEZI/Mwf qNMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BC+Sg9HWCWkWpUC1Bzc2G/+Jd/qZ/kelvEvSs6pcygY=; b=gx//PKnAH3x/SJb5DR27t5DDrRChuugFAhO9AV2XOVn+7Swz8gHo59ROYL1r6f+Qg7 C7E5+8Xfx0uk2tPl1STwnFJtehe4WErVXx9TStVLrDW0hg3HanAWpnkDEl2LBZ1zPy+n 5MpeeGnT/iaCRG5Mb3IrXxwtJAsOTEl2kVJcn5uN4SLOQf/LyEYXT/BLktikwxHATb1G BVWzQTRFwK1ueAThazHtkmKg+Q0Pgls7N1AQjMLMtkwYrLm7ypftj1IqyYCa2I7Htbnp i0X9LJPyGxQuRIFgsKsNjjg0D8oG6lM7vtmlDbJRqhqkGZry8mcclMozxmOC5xJ171Bg J1vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=ibuCy+u5; 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 w9si808609ejb.619.2020.10.05.17.36.41; Mon, 05 Oct 2020 17:37:03 -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; dkim=pass header.i=@jms.id.au header.s=google header.b=ibuCy+u5; 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 S1726458AbgJFAet (ORCPT + 99 others); Mon, 5 Oct 2020 20:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbgJFAes (ORCPT ); Mon, 5 Oct 2020 20:34:48 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB396C0613CE; Mon, 5 Oct 2020 17:34:48 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id g3so11500834qtq.10; Mon, 05 Oct 2020 17:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BC+Sg9HWCWkWpUC1Bzc2G/+Jd/qZ/kelvEvSs6pcygY=; b=ibuCy+u5v9dpSLfj0DVMWS2aVgXgFfYmW+QLQ5dkIRbF1qDIy6Knwo0swgB8sAwJU1 8v3VTWh8RAcxV3imLQ3oc09SZMBU2ooOsr634pzNjjEPweSltVZdWeZ2Q77y/8NQBTfe Ypl7bQP00/I88eNQgof4aby7AuiAMutsnVyXQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BC+Sg9HWCWkWpUC1Bzc2G/+Jd/qZ/kelvEvSs6pcygY=; b=cQHU98oGuKeuobVl7HiHWvGSXLt4fZX0lGbyK59Ojz7nllA7JLKzvYExG2vnwsGfB0 32rE8gPrYh7yc6lWRjCG4j15Ap23UWUOkW99W4HW7ao7AOLY42wfM6IAOMJ8XDrqRJUP SVaI8kd6itx/2QeQIUpxINZEicC3WKf0lM7XxFF+wOfRlStT7NaNHYWNKvSv2+OOmIXV bMt9ihhvPtmtRZAjQOSdFY1erW2RYhU1GNRjo7Tdk/jtwfEnOxHsKXu5ajE/96Y+W2h4 iJp2xneyPllrW+RkHImjk46M1DLT55BwZk8xxsExvY5+y2y8lFkH0MlWpPSwbX6xZnKM pi1Q== X-Gm-Message-State: AOAM5312UXGcOF2jXWfJn1o88Lq4cEdntkkXXRKeu/S4/RhD+9LwACcW 746QPmFKeNaJKwOdkhEhkQm8G4zprVYmybLjBJo= X-Received: by 2002:ac8:5b82:: with SMTP id a2mr2722902qta.176.1601944487836; Mon, 05 Oct 2020 17:34:47 -0700 (PDT) MIME-Version: 1.0 References: <20200929192549.501516-1-ndesaulniers@google.com> <133589afbe999347454dfcc46ae782897bf9e3a2.camel@perches.com> <46f69161e60b802488ba8c8f3f8bbf922aa3b49b.camel@perches.com> <417ffa3fd3fba5d4a481db6a0b0c9b48cbbb17c4.camel@perches.com> <46040e2776a4848add06126ce1cb8f846709294f.camel@perches.com> <20201001193937.GM28786@gate.crashing.org> <61445711991c2d6eb7c8fb05bed2814458e2593b.camel@perches.com> In-Reply-To: <61445711991c2d6eb7c8fb05bed2814458e2593b.camel@perches.com> From: Joel Stanley Date: Tue, 6 Oct 2020 00:34:35 +0000 Message-ID: Subject: Re: [RFC PATCH next-20200930] treewide: Convert macro and uses of __section(foo) to __section("foo") To: Joe Perches , Michael Ellerman Cc: Segher Boessenkool , Miguel Ojeda , Kees Cook , "Paul E . McKenney" , Nick Desaulniers , Lai Jiangshan , Josh Triplett , Steven Rostedt , LKML , rcu@vger.kernel.org, Clang-Built-Linux ML , Mathieu Desnoyers , Sedat Dilek , Paul Mackerras , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Oct 2020 at 20:19, Joe Perches wrote: > > On Thu, 2020-10-01 at 14:39 -0500, Segher Boessenkool wrch/ote: > > Hi! > > > > On Thu, Oct 01, 2020 at 12:15:39PM +0200, Miguel Ojeda wrote: > > > > So it looks like the best option is to exclude these > > > > 2 files from conversion. > > > > > > Agreed. Nevertheless, is there any reason arch/powerpc/* should not be > > > compiling cleanly with compiler.h? (CC'ing the rest of the PowerPC > > > reviewers and ML). > > > > You need to #include compiler_types.h to get this #define? > > Actually no, you need to add > > #include > > to both files and then it builds properly. > > Ideally though nothing should include this file directly. arch/powerpc/boot is the powerpc wrapper, and it's not built with the same includes or flags as the rest of the kernel. It doesn't include any of the headers in the top level include/ directory for hysterical raisins. The straightforward fix would be to exclude this directory from your script. Cheers, Joel