Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2524051imm; Thu, 7 Jun 2018 12:06:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKHfp1MEGGS9C83veQ8vl266CdJnOEmfLCMpdplv/hndsBygfC3JifS9K9//lY3wwbug2aS X-Received: by 2002:a65:5243:: with SMTP id q3-v6mr1031796pgp.45.1528398367889; Thu, 07 Jun 2018 12:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398367; cv=none; d=google.com; s=arc-20160816; b=uXLsYDc96onMstYdqu45unEpGkkytuiBc1I9lvyLWwok4EaON1vWG9Bdd8T+e5Rfl9 kZw6UQ5uK+eJySg1GLlD635oisz24F0juXZp5dCxGPRWLCvfn9wIltU9olRPfyJjxzbT AvyQZIKL1pSDnSb0vT6WCb36vrE/7ZEZBus2J3uoQ4TFTsQABrsQbrb1scY+Tfq7eCKH OyabqvKhS8SNHeqVWEqRoNq7e2tHKypJIxkPsJfWYrbZF8xm3A7UI3VLN5I82Fhg8k9v ras9Ltpweu/t0+yEFfbcip1FKgZDJmnKmLEObMn8E61etGg+SkuMCgB3Xtu++Yq7E8N3 2hLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=PrUr8o/lcC1pFXf76FiPqNU8MJePHT+T/A5C/gSGCs0=; b=jR1NmmgtMbuqHhZUs1C90P+m/neBzZ1VuOloJyIGq5eps1fY9+84eJPcgUVXmGHMZT 7Sy67O98ix9a8HQBtEpcd8ugqd9cVcNiGCUBFfdVQoJszrpk1SjqegeI2tRUsvJO4IMI xYQ2/r1exPLgw7izm6ilj322NuB7VcaAdH4LWQ+uHtpf//p+vLF8Meo4ytSrPWtA+4pz uR0O2iiCBYz1nYN0RhbNYSmNOVvxGX0nY3q7/pc0c/rq46RtWOQx35SGBFP6D0yE08Os EGQijmQnKJnUOjRERfGP9o0NCKTQ5hQIOs4raU/5G0cMY3EwTt+aHggEQ/vmOlAlrknE 4MTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Wp228TTT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id g14-v6si13550624pgr.419.2018.06.07.12.05.53; Thu, 07 Jun 2018 12:06:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Wp228TTT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S934001AbeFGRdi (ORCPT + 99 others); Thu, 7 Jun 2018 13:33:38 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:44921 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933667AbeFGRdg (ORCPT ); Thu, 7 Jun 2018 13:33:36 -0400 Received: by mail-pg0-f68.google.com with SMTP id p21-v6so5078148pgd.11 for ; Thu, 07 Jun 2018 10:33:36 -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=PrUr8o/lcC1pFXf76FiPqNU8MJePHT+T/A5C/gSGCs0=; b=Wp228TTTqMTWWk6FM2a5V+poUTtxOOOUNYFC7e/eUQNZtrhTiPKzWg+6EllOzXOZ0P sJsLfy38wVljuv1KOWJjHb/DdVmW/ExrTafK2QOviOAL9vvmzFQycT2mAJ6sZ1Sk+CKP w/wKugPkPvv813lRWhsGsBR+fXIGbir3NpLHJ6TaN11Juqdy5lczA3FaPU2/Th13+QFZ /gpP5D+FMSPm79e+jobHgR8Cc7ExwV1exvUpj5WzyWmyhloEEBusN+CPMylYjMqxCXeO UtUCH1hHovDJ9YryntBcYDeCkNMOrrB1ljgBsxoYCuGMzU+m+Rjcs+5KGNxZfRJtgAD8 xOUw== 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=PrUr8o/lcC1pFXf76FiPqNU8MJePHT+T/A5C/gSGCs0=; b=ledMiWcy02JS/6ZADsrqEGcXnWS42VlIWb8IUH7CJzKvgmnrt+xO7EDCNA24PUexVb mSMZn9PgSV2bd7Qp1VC4r1XQTtRakWUf0hINGMq/VYihae0V6+tVVyxE2hsm7nKGYFaK +k83QtqOxybLkcbGTuxUCsshCjRILhpaMdE0eWiUvdwljySUbG/Ei8HwtVZNB+h7Ebpp 0CqZz0ETOxuhAv96pZ6tXkq/C+zXo/ZvuyxjH2EkVnh4I9xMmmDFs8dpidom2JjsWGat /32N0iw5U4o2g5Oe/ezuTr29Aqe1+LKfIceNqav8Ljow23SRXUkLN009fL2MBY0J1JKs /fag== X-Gm-Message-State: APt69E2hYXjwVVhUHWjzQHjY3GwE0A4w4OoqHaBD+O89h3RgmJ5mmGeg a7m6w0tdNGo4VU07J9bSJ3HtyK7zIbP6XSbNkOtFJA== X-Received: by 2002:a63:a513:: with SMTP id n19-v6mr2286626pgf.381.1528392815376; Thu, 07 Jun 2018 10:33:35 -0700 (PDT) MIME-Version: 1.0 References: <20180605170532.170361-1-ndesaulniers@google.com> <20180605170532.170361-2-ndesaulniers@google.com> <202492204c2d5bd5ca27307cbca5e44673b739ed.camel@perches.com> In-Reply-To: <202492204c2d5bd5ca27307cbca5e44673b739ed.camel@perches.com> From: Nick Desaulniers Date: Thu, 7 Jun 2018 10:33:23 -0700 Message-ID: Subject: Re: [PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations To: joe@perches.com Cc: Andrew Morton , Ard Biesheuvel , Andrey Ryabinin , akataria@vmware.com, boris.ostrovsky@oracle.com, brijesh.singh@amd.com, Cao jin , Greg KH , hpa@zytor.com, "J. Kiszka" , jarkko.sakkinen@linux.intel.com, jgross@suse.com, Josh Poimboeuf , kirill.shutemov@linux.intel.com, mingo@redhat.com, mjg59@google.com, Matthias Kaehlcke , Philippe Ombredanne , rostedt@goodmis.org, Thomas Gleixner , thomas.lendacky@amd.com, Thiebaud Weksteen , linux-efi@vger.kernel.org, LKML , x86@kernel.org, virtualization@lists.linux-foundation.org, Alistair Strachan , Manoj Gupta , Greg Hackmann , sedat.dilek@gmail.com, tstellar@redhat.com, Kees Cook , Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , geert@linux-m68k.org, Will Deacon , mawilcox@microsoft.com, Arnd Bergmann , David Rientjes Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 5, 2018 at 10:23 AM Joe Perches wrote: > > On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > And only set once along with: > > > #define __always_inline inline __attribute__((always_inline)) > > And perhaps this __always_inline should be updated > with gnu_inline as well > This should pick up the additional attributes from adding `inline` to the redefinition. Attributes can be combined via: __attribute__((a)) __attribute__((b)) or __attribute__((a, b)) -- Thanks, ~Nick Desaulniers