summaryrefslogtreecommitdiffstats
path: root/include/linux/minmax.h
Commit message (Expand)AuthorAgeFilesLines
* minmax: simplify min()/max()/clamp() implementationHEADmasterLinus Torvalds17 hours1-23/+20
* minmax: make generic MIN() and MAX() macros available everywhereLinus Torvalds22 hours1-0/+2
* minmax: simplify and clarify min_t()/max_t() implementationLinus Torvalds23 hours1-8/+11
* minmax: avoid overly complicated constant expressions in VM codeLinus Torvalds3 days1-0/+7
* minmax: relax check to allow comparison between unsigned arguments and signed...David Laight2023-10-181-7/+17
* minmax: allow comparisons of 'int' against 'unsigned char/short'David Laight2023-10-181-2/+3
* minmax: fix indentation of __cmp_once() and __clamp_once()David Laight2023-10-181-15/+15
* minmax: allow min()/max()/clamp() if the arguments have the same signedness.David Laight2023-10-181-28/+32
* minmax: add umin(a, b) and umax(a, b)David Laight2023-10-181-0/+17
* minmax: fix header inclusionsAndy Shevchenko2023-10-041-1/+2
* minmax: deduplicate __unconst_integer_typeof()Andy Shevchenko2023-10-041-23/+3
* Merge tag 'sound-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds2023-08-301-0/+64
|\
| * minmax: Introduce {min,max}_array()Herve Codina2023-07-091-0/+64
* | minmax: add in_range() macroMatthew Wilcox (Oracle)2023-08-241-0/+27
|/
* minmax: clamp more efficiently by avoiding extra comparisonJason A. Donenfeld2022-11-181-1/+1
* minmax: sanity check constant bounds when clampingJason A. Donenfeld2022-11-181-2/+24
* linux/bits.h: fix compilation error with GENMASKRikard Falkeborn2021-05-221-8/+2
* kernel.h: split out min()/max() et al. helpersAndy Shevchenko2020-10-161-0/+153