summaryrefslogtreecommitdiff
path: root/fs/isofs
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-08-19 15:52:40 +0800
committerJan Kara <jack@suse.cz>2022-08-19 11:06:08 +0200
commite03d3b1b924cbaac91ddf066e4d14a2c4d3ed1d1 (patch)
tree31d17df76d9b97e1291635ad05b62f28047d3d99 /fs/isofs
parent4c2d0b039c5cc0112206a5b22431b577cb1c57ad (diff)
fs/reiserfs: replace ternary operator with min() and min_t()
Fix the following coccicheck warning: fs/reiserfs/prints.c:459: WARNING opportunity for min(). fs/reiserfs/resize.c:100: WARNING opportunity for min(). fs/reiserfs/super.c:2508: WARNING opportunity for min(). fs/reiserfs/super.c:2557: WARNING opportunity for min(). min() and min_t() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220819075240.3199477-1-13667453960@163.com
Diffstat (limited to 'fs/isofs')
0 files changed, 0 insertions, 0 deletions