aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJiangshan Yi <[email protected]>2022-08-17 10:59:28 +0800
committerTheodore Ts'o <[email protected]>2022-11-29 16:10:49 -0500
commit66267814ba0ee0732c69ca87eb1fd6eb63bf0d5f (patch)
tree204a4c8a28740257bd95d86ff1e209d31587a65b /tools/perf/scripts/python/bin/stackcollapse-record
parent318cdc822c63b6e2befcfdc2088378ae6fa18def (diff)
fs/ext4: replace ternary operator with min()/max() and min_t()
Fix the following coccicheck warning: fs/ext4/inline.c:183: WARNING opportunity for min(). fs/ext4/extents.c:2631: WARNING opportunity for max(). fs/ext4/extents.c:2632: WARNING opportunity for min(). fs/ext4/extents.c:5559: WARNING opportunity for max(). fs/ext4/super.c:6908: WARNING opportunity for min(). min()/max() 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. Reported-by: kernel test robot <[email protected]> Suggested-by: Lukas Czerner <[email protected]> Signed-off-by: Jiangshan Yi <[email protected]> Reviewed-by: Lukas Czerner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions