Skip to content

Commit

Permalink
dm vdo indexer: Convert comma to semicolon
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ken Raeburn <[email protected]>
  • Loading branch information
Shen Lichuan authored and raeburn committed Sep 20, 2024
1 parent 3c4561e commit ac1f859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-vdo/indexer/chapter-index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ac1f859

Please sign in to comment.