OSDN Git Service

block: fix old-style declaration
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 7 Jan 2022 00:52:28 +0000 (08:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 9 Jan 2022 17:36:51 +0000 (10:36 -0700)
commit292c33c95defd0b814fec1fc8cd60d16556cf7b8
tree99e70149edf13c6b903e2e7d29d58285dacab9f1
parent6bfec7992ec79b63fb07330ae97f3fb43120aa37
block: fix old-style declaration

Move the 'inline' keyword to the front of 'void'.

Remove a warning found by clang(make W=1 LLVM=1)
./include/linux/blk-mq.h:259:1: warning: ‘inline’ is not at beginning of
declaration

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220107005228.103927-1-yang.lee@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h