]> git.baikalelectronics.ru Git - kernel.git/commit
blk-wbt: fix old-style function declaration
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Nov 2016 15:29:57 +0000 (16:29 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 16 Nov 2016 15:32:40 +0000 (08:32 -0700)
commit37420c58bfa20ffc92f66095bdfc37e135e14382
treea16137d8136899ba76c7031ebd8fe18637c06b8c
parentf92b22ec349af11f8674e0792e872e91c48f4c92
blk-wbt: fix old-style function declaration

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-wbt.c