aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorJiangshan Yi <[email protected]>2023-03-28 03:16:29 +0000
committerRafael J. Wysocki <[email protected]>2023-03-30 17:09:49 +0000
commit0dc9a715578b041b6159714f23f94cf71a214411 (patch)
treef3ec40c1c576ccf270e6764223e81cfde1a25844 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentLinux 6.3-rc4 (diff)
downloadkernel-0dc9a715578b041b6159714f23f94cf71a214411.tar.gz
kernel-0dc9a715578b041b6159714f23f94cf71a214411.zip
ACPI: thermal: Replace ternary operator with min_t()
Modify the code in accordance with the coccicheck warning: drivers/acpi/thermal.c:422: 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. Signed-off-by: Jiangshan Yi <[email protected]> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions