summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorZhan Xusheng <zhanxusheng@xiaomi.com>2026-08-17 20:16:13 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 19:02:56 -0700
commit09835b11e5b1c0b659e44959b639c6426d977827 (patch)
treed6d9ccfda7928cdedae10035d22bb720cbf98eda /tools/perf/scripts/python/bin/stackcollapse-report
parent36dd57d0ae9605cf7c91e6de04296400f8e2ef27 (diff)
minmax.h: update the stale 'x' versus 'ux' comment
Commit b280bb27a9f7 ("minmax.h: reduce the #define expansion of min(), max() and clamp()") made __sign_use(), __is_nonneg() and __types_ok() take only 'ux', and commit a5743f32baec ("minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()") did the same for the clamp() limit test. The comment describing the old split was added one patch earlier and was never updated. 'ux' now carries the value check too, since __is_nonneg() tests it rather than the original expression, and nothing here looks at the value of 'x' any more: it is expanded only to initialise 'ux' and in the error message, as the first of those changes intended. Link: https://lore.kernel.org/20260817121613.3846511-1-zhanxusheng@xiaomi.com Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: David Laight <david.laight.linux@gmail.com> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions