summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-14 09:33:18 +0300
committerJan Kara <jack@suse.cz>2022-07-14 13:04:15 +0300
commit9888725d8a640d67abe6139e84ff41bafe89b11e (patch)
treeaa5bc97cb49a644933110e4b5f952d5e4d14de55 /tools/perf/scripts/python/exported-sql-viewer.py
parenta175eca0f3d747599f1fdfac04cc9195b71ec996 (diff)
downloadlinux-9888725d8a640d67abe6139e84ff41bafe89b11e.tar.xz
fs/ext2: replace ternary operator with min_t()
Fix the following coccicheck warning: fs/ext2/super.c:1494: WARNING opportunity for min(). fs/ext2/super.c:1533: WARNING opportunity for min(). 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. Link: https://lore.kernel.org/r/20220714063318.1777139-1-13667453960@163.com Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions