summaryrefslogtreecommitdiff
path: root/include/linux/minmax.h
AgeCommit message (Expand)AuthorFilesLines
2023-10-19minmax: relax check to allow comparison between unsigned arguments and signed...David Laight1-7/+17
2023-10-19minmax: allow comparisons of 'int' against 'unsigned char/short'David Laight1-2/+3
2023-10-19minmax: fix indentation of __cmp_once() and __clamp_once()David Laight1-15/+15
2023-10-19minmax: allow min()/max()/clamp() if the arguments have the same signedness.David Laight1-28/+32
2023-10-19minmax: add umin(a, b) and umax(a, b)David Laight1-0/+17
2023-10-04minmax: fix header inclusionsAndy Shevchenko1-1/+2
2023-10-04minmax: deduplicate __unconst_integer_typeof()Andy Shevchenko1-23/+3
2023-08-30Merge tag 'sound-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+64
2023-08-25minmax: add in_range() macroMatthew Wilcox (Oracle)1-0/+27
2023-07-10minmax: Introduce {min,max}_array()Herve Codina1-0/+64
2022-11-19minmax: clamp more efficiently by avoiding extra comparisonJason A. Donenfeld1-1/+1
2022-11-19minmax: sanity check constant bounds when clampingJason A. Donenfeld1-2/+24
2021-05-23linux/bits.h: fix compilation error with GENMASKRikard Falkeborn1-8/+2
2020-10-16kernel.h: split out min()/max() et al. helpersAndy Shevchenko1-0/+153