From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755038AbdBNUM5 (ORCPT ); Tue, 14 Feb 2017 15:12:57 -0500 Received: from mail.kernel.org ([198.145.29.136]:34034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754992AbdBNUMv (ORCPT ); Tue, 14 Feb 2017 15:12:51 -0500 Date: Tue, 14 Feb 2017 15:12:46 -0500 From: Steven Rostedt To: Arnd Bergmann Cc: Ingo Molnar , Namhyung Kim , Tom Zanussi , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: tracing: use modern function declaration Message-ID: <20170214151246.4e135d9d@gandalf.local.home> In-Reply-To: <20170123122521.3389010-1-arnd@arndb.de> References: <20170123122521.3389010-1-arnd@arndb.de> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Jan 2017 13:24:45 +0100 Arnd Bergmann wrote: > We get a lot of harmless warnings about this header file at W=1 level > because of an unusual function declaration: > > kernel/trace/trace.h:766:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] > > This moves the inline statement where it normally belongs, avoiding the > warning. > > Fixes: 4046bf023b06 ("ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip") > Signed-off-by: Arnd Bergmann Applied, Thanks! -- Steve