From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936256AbcKPPdv (ORCPT ); Wed, 16 Nov 2016 10:33:51 -0500 Received: from mail-it0-f43.google.com ([209.85.214.43]:37086 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933819AbcKPPdp (ORCPT ); Wed, 16 Nov 2016 10:33:45 -0500 Subject: Re: [PATCH] blk-bwt: fix old-style function declaration To: Arnd Bergmann References: <20161116153007.3543720-1-arnd@arndb.de> Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org From: Jens Axboe Message-ID: Date: Wed, 16 Nov 2016 08:33:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161116153007.3543720-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/16/2016 08:29 AM, Arnd Bergmann wrote: > The newly added driver causes a harmless warning in some configurations: > > block/blk-wbt.c:250:1: error: ‘inline’ is not at beginning of declaration [-Werror=old-style-declaration] > static bool inline stat_sample_valid(struct blk_rq_stat *stat) > > This makes it use the expected format for the declaration. Thanks Arnd, applied with the subject typo fixed up. -- Jens Axboe