summaryrefslogtreecommitdiff
path: root/include/linux/minmax.h
AgeCommit message (Expand)Author
2024-07-25minmax: relax check to allow comparison between unsigned arguments and signed...David Laight
2024-07-25minmax: allow comparisons of 'int' against 'unsigned char/short'David Laight
2024-07-25minmax: allow min()/max()/clamp() if the arguments have the same signedness.David Laight
2024-07-25minmax: fix header inclusionsAndy Shevchenko
2024-07-25minmax: clamp more efficiently by avoiding extra comparisonJason A. Donenfeld
2024-07-25minmax: sanity check constant bounds when clampingJason A. Donenfeld
2024-04-03minmax: add umin(a, b) and umax(a, b)David Laight
2021-05-22linux/bits.h: fix compilation error with GENMASKRikard Falkeborn
2020-10-16kernel.h: split out min()/max() et al. helpersAndy Shevchenko