Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5554374imm; Tue, 26 Jun 2018 13:25:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNpch4ZfCGJSwe08qav5tR0wNYu0cRhhethF5AMK0uK4AibCwPFLFmd6Gvrany28aBQSU3 X-Received: by 2002:a17:902:650a:: with SMTP id b10-v6mr3115763plk.45.1530044702645; Tue, 26 Jun 2018 13:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530044702; cv=none; d=google.com; s=arc-20160816; b=we4FgHo5J6vV3aUkuD7weArfQbXJIiJTfW+HvdlN2yJy75ovIadvYRpchytF03zqye p8Y6O3bKPx3kS7pCfTAXCLg9M5hrYGsew+5rZo/bL6Pr1czPS4qTctnFKQ1aMjbnIzvO wYoTnkVVpvhVVKgE5juDGA0ojvgMBQSjP4UKbzjiiZsis81G2FmZ54TmdR2b9YMw+Oy+ AaGa+RotCHyCz8o+fh9zplo2Yux3MlIACwyc/gqMq5Vor+KfoTUDv0lIMx0QlXYJ5TzX gE5Azfzugjsg78Efcr2nitdYnTgqlUEGUosEsFGPQtm9EZ1t8SSLAXXqL+IvqjNAZxop 92jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=B6atpzVcN6cAQ21rvOzMrJtevWk2dVnhur/AgzTeKYc=; b=DFfynuyd64T3SbmN3W0FteB6uWKbkNhJCmV+d5q9/HPnY5Tj/JYqithsw0Ds0bcM7r lquy+QYIuIWPNlvXxDrmMmcSQ7bG/mK311NIKYVFAmg1ea6pSBcTjmF8ViDIIKu97MnA jOdCVeqUdM8MzzvXD/ABls90Y969lHDA5ADmMtwVFRYsZLlI12F4ynq/POltO1sagk0F 8AREbIQhnUWvjbGSkHwNPDAI95oCXSpxwmM/YuYJx+Bc0u5f64s9Hmn5dR3EMIuAbTHV 58tJoY8sYu89gxufsFRL+Lg6fz7tu5Gjilkd16epCi49lTO/s6L3yrxr0Ab7iAFWHXQg GqXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ri809LYd; 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 j84-v6si2319002pfj.79.2018.06.26.13.24.48; Tue, 26 Jun 2018 13:25:02 -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=fail header.i=@gmail.com header.s=20161025 header.b=ri809LYd; 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 S933554AbeFZUXK (ORCPT + 99 others); Tue, 26 Jun 2018 16:23:10 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37479 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932349AbeFZUXI (ORCPT ); Tue, 26 Jun 2018 16:23:08 -0400 Received: by mail-wm0-f68.google.com with SMTP id n17-v6so2607656wmh.2 for ; Tue, 26 Jun 2018 13:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B6atpzVcN6cAQ21rvOzMrJtevWk2dVnhur/AgzTeKYc=; b=ri809LYdVHq9c3Qp+yYeYcivqmzyAEJkBHWQrDgsSAliMaNgAzxv3lcFbNwdjFSWZ+ yjkzTVcbhlQ+UNoGwAkRnWGM7I0qgPCY1AVK2VwGGTPvb13K6rA31ePb4WcTjzU6b5dr KrzavygWLyHbgYNBR+r6N1vAqB0LdofJPCQ8LINoKg8uNdXNWtZagE6aaiC4+VvXlnKy bo3B/hOv/F/morWZNuZKid2jcj4V9jpWwsV4mzx9v50W5ICxxn3At1NL2FDnTfVBuKFV 96iSuaytKSyBpJBBQxmWdEsNhzPtzaKDOEtAG8+YQkLi4d3ziKCSBNw8yaK4TsjM8p4Y gp5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=B6atpzVcN6cAQ21rvOzMrJtevWk2dVnhur/AgzTeKYc=; b=RpMjTFcz6NdoW8s6Ny+K3y7lMzivhrV/+/Puixi3VGdbExjg2nLgnSWo0oPYG9nq1N B/tPHGttY1Qy1fH3bzrhrzlDedFE2idFl4iQhQnS7W3lJjJWypFZRpJTY9gU4i9gNoWb 0UeJlD0qsVAGx7Is0qD8QKq4OOuAyAfJMLrx1gw1JEp0TWrx9PCcToaKE9rpKnokqs5w PkPeUZT6NMH/n5zkqsIGbJPz8tUD6sKmGHRLokcqLdCkVI/EobL5otVsRRHZGhZJG+wu MuEc0IVd6tIaQolElxiUGItgOvoAcUrgKs+crsQO/jSODglSTe0GXTzmlJcWgOT1hxB5 fF0g== X-Gm-Message-State: APt69E209iDucXEd94gFauv/SHxrBGEBcQ8wsxCGHcbzUiaXooPfu2z6 zC3y76tdgwSSgKISl1iAGJs= X-Received: by 2002:a1c:2686:: with SMTP id m128-v6mr2944544wmm.65.1530044587739; Tue, 26 Jun 2018 13:23:07 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id s12-v6sm3500848wrr.43.2018.06.26.13.23.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Jun 2018 13:23:06 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id C9D5310C0487; Tue, 26 Jun 2018 22:23:05 +0200 (CEST) From: Mathieu Malaterre To: Peter Zijlstra Cc: Ingo Molnar , Mathieu Malaterre , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org Subject: [PATCH v2] perf/core: Move inline keyword at the beginning of declaration Date: Tue, 26 Jun 2018 22:23:00 +0200 Message-Id: <20180626202301.20270-1-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171226140913.16640-1-malat@debian.org> References: <20171226140913.16640-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- v2: Explicit reference to W=1 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, -- 2.11.0