Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753187AbdL1MPP (ORCPT ); Thu, 28 Dec 2017 07:15:15 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:44723 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbdL1MPO (ORCPT ); Thu, 28 Dec 2017 07:15:14 -0500 X-Google-Smtp-Source: ACJfBounWCffk2c8Q7DoGNFu87F+c+6BOtKkvsupDaV5yGpm6WCFSUbaD//5EhTTwniBwp5qhAA5HA== Date: Thu, 28 Dec 2017 13:15:10 +0100 From: Ingo Molnar To: Mathieu Malaterre , Ard Biesheuvel Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton Subject: Re: [PATCH 3/3] perf/core: Move inline keyword at the beginning of declaration Message-ID: <20171228121509.wq7mdeh3v4jcbjn2@gmail.com> References: <20171226140922.16699-1-malat@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171226140922.16699-1-malat@debian.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 537 Lines: 20 * Mathieu Malaterre wrote: > Fix non-fatal warnings such as: > > kernel/events/ring_buffer.c:116:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] > static int __always_inline > ^~~~~~ > > Signed-off-by: Mathieu Malaterre > --- > kernel/events/ring_buffer.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Hm, never saw this warning before - is this a newly default GCC warning, or some distro CFLAGS build that enables it? Thanks, Ingo