Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751122AbdLZOJW (ORCPT ); Tue, 26 Dec 2017 09:09:22 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:45115 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdLZOJT (ORCPT ); Tue, 26 Dec 2017 09:09:19 -0500 X-Google-Smtp-Source: ACJfBotAVjhCIfEaseIm2bwepqRNK3LkTGXR80GRSFJsyuP7LktQn08jexKjQGbnJDbZ/U0TOi3wvA== From: Mathieu Malaterre Cc: Mathieu Malaterre , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] perf/core: Move inline keyword at the beginning of declaration Date: Tue, 26 Dec 2017 15:09:13 +0100 Message-Id: <20171226140913.16640-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 26 Fix non-fatal warning: 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 --- 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 4df5b695bf0d..aa874d2b58b3 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -6103,7 +6103,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, -- 2.11.0