aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/multiorder.c
diff options
context:
space:
mode:
authorDavid Laight <[email protected]>2024-11-18 19:15:05 +0000
committerAndrew Morton <[email protected]>2025-01-25 06:47:26 +0000
commit495bba17cdf95e9703af1b8ef773c55ef0dfe703 (patch)
treefe8815c844440914dcc69c16c3c667e97cdeea81 /tools/testing/radix-tree/multiorder.c
parentminmax.h: move all the clamp() definitions after the min/max() ones (diff)
downloadkernel-495bba17cdf95e9703af1b8ef773c55ef0dfe703.tar.gz
kernel-495bba17cdf95e9703af1b8ef773c55ef0dfe703.zip
minmax.h: simplify the variants of clamp()
Always pass a 'type' through to __clamp_once(), pass '__auto_type' from clamp() itself. The expansion of __types_ok3() is reasonable so it isn't worth the added complexity of avoiding it when a fixed type is used for all three values. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Laight <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Jason A. Donenfeld <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Mateusz Guzik <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Pedro Falcato <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions