aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/minmax.h (follow)
AgeCommit message (Expand)AuthorFilesLines
2023-10-18minmax: relax check to allow comparison between unsigned arguments and signed constantsDavid Laight1-7/+17
2023-10-18minmax: allow comparisons of 'int' against 'unsigned char/short'David Laight1-2/+3
2023-10-18minmax: fix indentation of __cmp_once() and __clamp_once()David Laight1-15/+15
2023-10-18minmax: allow min()/max()/clamp() if the arguments have the same signedness.David Laight1-28/+32
2023-10-18minmax: 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/tiwai/soundLinus Torvalds1-0/+64
2023-08-24minmax: add in_range() macroMatthew Wilcox (Oracle)1-0/+27
2023-07-09minmax: Introduce {min,max}_array()Herve Codina1-0/+64
2022-11-18minmax: clamp more efficiently by avoiding extra comparisonJason A. Donenfeld1-1/+1
2022-11-18minmax: sanity check constant bounds when clampingJason A. Donenfeld1-2/+24
2021-05-22linux/bits.h: fix compilation error with GENMASKRikard Falkeborn1-8/+2
2020-10-16kernel.h: split out min()/max() et al. helpersAndy Shevchenko1-0/+153