summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-14 09:38:08 +0300
committerMikulas Patocka <mpatocka@redhat.com>2024-09-18 19:26:35 +0300
commit9bcd923952078e08cd4570e15f751a6c9ec7633f (patch)
tree50b5b0e9fd57664614cb5c6938cf474d2aa536e9 /drivers/md/dm-vdo
parent5d49054ef616095d160c1072ba458e16e2f825de (diff)
downloadlinux-9bcd923952078e08cd4570e15f751a6c9ec7633f.tar.xz
dm vdo indexer: Convert comma to semicolon
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo')
-rw-r--r--drivers/md/dm-vdo/indexer/chapter-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-vdo/indexer/chapter-index.c b/drivers/md/dm-vdo/indexer/chapter-index.c
index 7e32a25d3f2f..fb1db41c794b 100644
--- a/drivers/md/dm-vdo/indexer/chapter-index.c
+++ b/drivers/md/dm-vdo/indexer/chapter-index.c
@@ -177,7 +177,7 @@ int uds_pack_open_chapter_index_page(struct open_chapter_index *chapter_index,
if (list_number < 0)
return UDS_OVERFLOW;
- next_list = first_list + list_number--,
+ next_list = first_list + list_number--;
result = uds_start_delta_index_search(delta_index, next_list, 0,
&entry);
if (result != UDS_SUCCESS)