Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6134651imm; Wed, 27 Jun 2018 02:50:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeRDZaMhaAohoLFpwGk6L/GDdqt5E3ifCa+hvLYoVEtYewnSH7j+Ku62gYF33xs9zziOFdL X-Received: by 2002:a63:b00f:: with SMTP id h15-v6mr4062742pgf.442.1530093007149; Wed, 27 Jun 2018 02:50:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530093007; cv=none; d=google.com; s=arc-20160816; b=JSsd0Zw9fmAQ/TE4VgXkzJH7jAoVFdgjdvL3fYQLeautNPUljhKxY6cUk3VRtj5COu FUVIqaGZfkNKENn/68yRVeUzSA35X/mAovdm4iI1xbBbHFbzrH0NVarlsU1MtENL65Pc r1NCd6o3k1p707lCbtDHGyvQdODmgPQM/9iTCOMLnCmJEc9T4cKJMPi01j6jw+GHNFfp 0fwiKzik40Ow7ZCwLeHgUdKjOPd7/n1lSvQ3/Xua6+xlU2H/nmEGESzKC2QfBPMvP8wm OUYcdlsPTxn/KVb17Xe47b71QpdA0y2gg1POyd67FcLGqiG5Q5LrECrZWpNVIN0wWzEo v44A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=0EP1Pt5nJUrSpI9YLytV92+UR16cL34/VEBD5Y2Cins=; b=sVuOJ6ZstkOtgkI+3uNF3hZQq0Tw2AcoPbQ1uX0+8LkK1pRlJXfUOAeC3wQV0j61id Q2CPQTD4faUVeoZvYcbiqSzZGHHEFFaDN4NK6SMAelqy8vyovYgq06iiy4B6cRMW2cJV fn4hMK59sJ3Gy68vjB/JUyJhMceXYOoIghkLqRFOaTnmmTtMSdxyuppDX3I+zae8mDQ9 lBKLo5f/KOqAQCRJEEZhtkQiLVmSH5yTksKpAVeNoMpvHVd/HedHY777f1jaR5GzLXXC PLbrSU1kadOBhw6DPVzQk1PNcgeOPeyTo57Ajrb+eWI8EJ9Bn1l2fVxJrcyVbHizu2Dj VTvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n68-v6si3210959pga.662.2018.06.27.02.49.48; Wed, 27 Jun 2018 02:50: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934069AbeF0JK1 (ORCPT + 99 others); Wed, 27 Jun 2018 05:10:27 -0400 Received: from terminus.zytor.com ([198.137.202.136]:52635 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932187AbeF0JKY (ORCPT ); Wed, 27 Jun 2018 05:10:24 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w5R9A1KM2025976 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 27 Jun 2018 02:10:01 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w5R9A1NM2025973; Wed, 27 Jun 2018 02:10:01 -0700 Date: Wed, 27 Jun 2018 02:10:01 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mathieu Malaterre Message-ID: Cc: namhyung@kernel.org, torvalds@linux-foundation.org, peterz@infradead.org, jolsa@redhat.com, malat@debian.org, alexander.shishkin@linux.intel.com, acme@kernel.org, tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com Reply-To: mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com, namhyung@kernel.org, jolsa@redhat.com, malat@debian.org, torvalds@linux-foundation.org, peterz@infradead.org, acme@kernel.org, alexander.shishkin@linux.intel.com In-Reply-To: <20180626202301.20270-1-malat@debian.org> References: <20180626202301.20270-1-malat@debian.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf/core: Move inline keyword at the beginning of declaration Git-Commit-ID: 9331510135640429711afbd0c810686100824a79 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 9331510135640429711afbd0c810686100824a79 Gitweb: https://git.kernel.org/tip/9331510135640429711afbd0c810686100824a79 Author: Mathieu Malaterre AuthorDate: Tue, 26 Jun 2018 22:23:00 +0200 Committer: Ingo Molnar CommitDate: Wed, 27 Jun 2018 09:55:58 +0200 perf/core: Move inline keyword at the beginning of declaration Fix non-fatal warning triggered during compilation with W=1: kernel/events/core.c:6106:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] static void __always_inline ^~~~~~ Signed-off-by: Mathieu Malaterre Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20180626202301.20270-1-malat@debian.org Signed-off-by: Ingo Molnar --- kernel/events/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index 80cca2b30c4f..8f0434a9951a 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -6482,7 +6482,7 @@ void perf_prepare_sample(struct perf_event_header *header, data->phys_addr = perf_virt_to_phys(data->addr); } -static void __always_inline +static __always_inline void __perf_event_output(struct perf_event *event, struct perf_sample_data *data, struct pt_regs *regs,