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

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