Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1523602

Re: [PATCH] blk-bwt: fix old-style function declaration

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] blk-bwt: fix old-style function declaration
Date 2016-11-16 16:40 +0100
Message-ID <sEatz-4HA-11@gated-at.bofh.it> (permalink)
References <sEatz-4HA-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] blk-bwt: fix old-style function declaration Jens Axboe <axboe@kernel.dk> - 2016-11-16 16:40 +0100

csiph-web