Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3599723pxk; Mon, 5 Oct 2020 14:06:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGKxGWhGQtTfXhb4n0gxCrkQ+aHcoJzPa6W4eVGYP/BBoHbd7XArne8XQ/smtm119pxl6w X-Received: by 2002:a17:906:fcae:: with SMTP id qw14mr1740496ejb.537.1601932018080; Mon, 05 Oct 2020 14:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601932018; cv=none; d=google.com; s=arc-20160816; b=P5U4NgdsNwo1WcnMnmIJIHxaju1g8SvgBLiWDQc0xqSR4Py6KcwSQbgFUYx059zJ+/ /37c7f9sAeB49PHxFWMmekPXqjSJRmJJUfKeckwz0eWKeUAnd0PVoEQy+YsFm46e+5Lm /XUecan6vMVIOfSoTAfkgc2E7J2iVvccKYNQ7JNKhab8lP+jPHN86hh5ikvyi18zXTKw cuLyt+KapWHRYIvLgO3Xby78yZ1LmdJfy3/NSZ/1dYsRvB3uS6gnwSpaazhkB7sTeGAY TRsCxBhfHLyHDb8Xr4vPnIAkyJjOnuy34rn3K0iUmoI8zOfGJqcSVVrfjGkw5jALTFS+ LvwA== 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=0wHD81aAh3Ob3GJ5aVvlWW4RHIkMZdoKTAx2sVZ9fTk=; b=PwmT/0Cvk9t4rqr32A9XhQKqvVPo+7KiJ6lXV4zuT5AO2+9rPo3rmblGa+9QOAgalK GXUBQMpJroF0EFm3XADIvsPJUv9sDT3SodSAEOK7OCnDezg0JwOmkDXCllcnpkF+FLfy YtfeqyqSAWggYu+bWEtRbd0Z7OMXsthOEVP2h9gXjzNAuM0LbomGjrlNWm03p/bPEK0X 8wgM6Z3HPxA5kBqt/yiR4SEQUggpqt063s/KeRbBL0wjkZq0ZdfGg5AYVcJds65AS1WO GRZ3R9gdxUpQHVUpldafq5HY6Rl+knANaGKTDf8Yvxqu/s08kUkUDlXjDw5XAijvWUxP 76Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vBtU369t; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si550252ejz.216.2020.10.05.14.06.34; Mon, 05 Oct 2020 14:06:58 -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=@google.com header.s=20161025 header.b=vBtU369t; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728181AbgJESgS (ORCPT + 99 others); Mon, 5 Oct 2020 14:36:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgJESgS (ORCPT ); Mon, 5 Oct 2020 14:36:18 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D44FDC0613CE for ; Mon, 5 Oct 2020 11:36:17 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id d6so7509822pfn.9 for ; Mon, 05 Oct 2020 11:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0wHD81aAh3Ob3GJ5aVvlWW4RHIkMZdoKTAx2sVZ9fTk=; b=vBtU369tbtM2Jid7AFMAhuTduuwSTM4AyN8H4Up07kr8IkkyV4rAC4JG1Fo3Ud/WKw ftULS/+AH1HaOFKMLvxqvmghjmqtP+IdxCZvtqdgAiaoW+vIQSms6DS2eDfMi3rPBtdZ gxXo00BFLa7vp5wCYmdO3wnLSIhAtRPM9rH4YLuuiqnFNB2xQnGdTepJdHgm70n5o19g La9EcHaAVaYi+XoWApK6eTv0t9Jmx2LpV8TUI+8IJk1Xr88aOnVUnTqxi1IRNLpXowOq HYgtVuWWJErS+krhYgKuL/+bMVWFZ3xm2/l7IpBM8VCYtnvyqkgKkzueiRKPlH110m5Z uIdw== 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=0wHD81aAh3Ob3GJ5aVvlWW4RHIkMZdoKTAx2sVZ9fTk=; b=YAr5FkC5K0oozUkZ01oTnEVFeDXEoIBJCpNE58LkVouNPZCYHed7eqgBZB1PPsmxHy UeuXj4b90oqkAO/I0jp1DW8kng40wEJzHbditxwLqMQE/3mjD1k2SwULBzx7IorL7Gix y0gI1L2w8jTWnpSVA8Y7xfjz7YhuJfARWEQ7Qs99Jcqt1WBxJXaAi73qs3iB7xrQWq16 Iiox5sepN3QKTRo81GcFVqvGXbXicKleUj7EikWdMLbw7xEvhxIQfUYbbfcZ+lPBfDEN CfmvtylODN2fJKIyjFVDDQ/Z/bnSugHOv69Qj0bwZ/ghYO8t63i/+lY89ltL/stE8MUA bOSg== X-Gm-Message-State: AOAM532tW96XNw9a7/G7FPSaSIciAsONm1JxtAvZbtsv/X8LUhvyDjH2 sghkvIxr1GG2bQnU3+iOOrRffYuxOD9L5Tjq2tmeVg== X-Received: by 2002:a65:6858:: with SMTP id q24mr837940pgt.10.1601922977033; Mon, 05 Oct 2020 11:36:17 -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: Nick Desaulniers Date: Mon, 5 Oct 2020 11:36:06 -0700 Message-ID: Subject: Re: [RFC PATCH next-20200930] treewide: Convert macro and uses of __section(foo) to __section("foo") To: Joe Perches Cc: Segher Boessenkool , Miguel Ojeda , Kees Cook , "Paul E . McKenney" , 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, Oct 1, 2020 at 1:19 PM 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. That's because Kbuild injects it via command line flag `-include`. (Well, it injects compiler_types.h which includes this). If part of the tree reset KBUILD_CFLAGS, that `-include` gets dropped. I don't think there's anything wrong with manually including it and adding `-I ` (capital i) if needed. > > > (The twice-defined thing is a warning, not an error. It should be fixed > > of course, but it is less important; although it may be pointing to a > > deeper problem.) > > > > > > Segher > -- Thanks, ~Nick Desaulniers