]> 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)
commit7c6789b92f21c850aefeaaaab39a21ba05f728f6
treea7ff9e290aedbf5fc73a78dfcd25f9a9626703be
parent5bf03c05e781a0aeaac4ee1b32daa4804034f557
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