Skip to content

Commit 3776843

Browse files
KaiLong WangJaegeuk Kim
authored andcommitted
f2fs: Clean up errors in segment.h
Fix the following errors reported by checkpatch: ERROR: spaces required around that ':' (ctx:VxW) Signed-off-by: KaiLong Wang <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 9f792ab commit 3776843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/f2fs/segment.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ static inline void sanity_check_seg_type(struct f2fs_sb_info *sbi,
108108
((sbi)->segs_per_sec - ((sbi)->unusable_blocks_per_sec >>\
109109
(sbi)->log_blocks_per_seg))
110110
#define GET_SEC_FROM_SEG(sbi, segno) \
111-
(((segno) == -1) ? -1: (segno) / (sbi)->segs_per_sec)
111+
(((segno) == -1) ? -1 : (segno) / (sbi)->segs_per_sec)
112112
#define GET_SEG_FROM_SEC(sbi, secno) \
113113
((secno) * (sbi)->segs_per_sec)
114114
#define GET_ZONE_FROM_SEC(sbi, secno) \
115-
(((secno) == -1) ? -1: (secno) / (sbi)->secs_per_zone)
115+
(((secno) == -1) ? -1 : (secno) / (sbi)->secs_per_zone)
116116
#define GET_ZONE_FROM_SEG(sbi, segno) \
117117
GET_ZONE_FROM_SEC(sbi, GET_SEC_FROM_SEG(sbi, segno))
118118

0 commit comments

Comments
 (0)