* [PATCH] dm verity: fixed ERROR: else should follow close brace '}'
[not found] <CGME20220615005156epcas1p1c124873ba59260e6f94f3793ef8d3f3c@epcas1p1.samsung.com>
@ 2022-06-15 0:51 ` JeongHyeon Lee
0 siblings, 0 replies; 2+ messages in thread
From: JeongHyeon Lee @ 2022-06-15 0:51 UTC (permalink / raw)
To: snitzer; +Cc: agk, dm-devel, linux-kernel, JeongHyeon Lee
This patch fixes the following checkpatch error,
ERROR: else should follow close brace '}'
Signed-off-by: JeongHyeon Lee <jhs2.lee@samsung.com>
---
drivers/md/dm-verity-target.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index d6dbd47492a8..75b66dd67633 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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [dm-devel] [PATCH] dm verity: fixed ERROR: else should follow close brace '}'
@ 2022-06-15 0:51 ` JeongHyeon Lee
0 siblings, 0 replies; 2+ messages in thread
From: JeongHyeon Lee @ 2022-06-15 0:51 UTC (permalink / raw)
To: snitzer; +Cc: JeongHyeon Lee, dm-devel, linux-kernel, agk
This patch fixes the following checkpatch error,
ERROR: else should follow close brace '}'
Signed-off-by: JeongHyeon Lee <jhs2.lee@samsung.com>
---
drivers/md/dm-verity-target.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index d6dbd47492a8..75b66dd67633 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
--
2.34.1
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-15 5:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20220615005156epcas1p1c124873ba59260e6f94f3793ef8d3f3c@epcas1p1.samsung.com>
2022-06-15 0:51 ` [PATCH] dm verity: fixed ERROR: else should follow close brace '}' JeongHyeon Lee
2022-06-15 0:51 ` [dm-devel] " JeongHyeon Lee
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.