]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dm vdo indexer: Convert comma to semicolon
authorShen Lichuan <shenlichuan@vivo.com>
Sat, 14 Sep 2024 06:38:08 +0000 (14:38 +0800)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 18 Sep 2024 16:26:35 +0000 (18:26 +0200)
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>
drivers/md/dm-vdo/indexer/chapter-index.c

index 7e32a25d3f2f38926f0159cb9d6d8142d6df3359..fb1db41c794b33cd6e9826b6e6eb770448faa7ea 100644 (file)
@@ -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)