From: JeongHyeon Lee Date: Wed, 15 Jun 2022 00:51:51 +0000 (+0900) Subject: dm verity: fix checkpatch close brace error X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=20e6fc85621c32bbe53d110bf0ecabdaa15acd2e;p=linux.git dm verity: fix checkpatch close brace error Resolves: ERROR: else should follow close brace '}' Signed-off-by: JeongHyeon Lee Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index d6dbd47492a85..75b66dd676337 100644 --- a/drivers/md/dm-verity-target.c +++ b/drivers/md/dm-verity-target.c @@ -527,11 +527,10 @@ static int verity_verify_io(struct dm_verity_io *io) if (v->validated_blocks) set_bit(cur_block, v->validated_blocks); continue; - } - else if (verity_fec_decode(v, io, DM_VERITY_BLOCK_TYPE_DATA, - cur_block, NULL, &start) == 0) + } else if (verity_fec_decode(v, io, DM_VERITY_BLOCK_TYPE_DATA, + cur_block, NULL, &start) == 0) { continue; - else { + } else { if (bio->bi_status) { /* * Error correction failed; Just return error