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

From: Jens Axboe
Date: Wed Nov 16 2016 - 10:33:53 EST


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