]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: do not assign in if condition in bcache_init()
authorFlorian Schmaus <flo@geekplace.eu>
Thu, 26 Jul 2018 04:17:39 +0000 (12:17 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 27 Jul 2018 15:15:46 +0000 (09:15 -0600)
commit0de7304e0031eb74f9443e3f1772e358fbe322a9
treea7ff9e290aedbf5fc73a78dfcd25f9a9626703be
parent969898fcc519a10537016ba8637001789901252e
bcache: do not assign in if condition in bcache_init()

Fixes an error condition reported by checkpatch.pl which is caused by
assigning a variable in an if condition.

Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c