summaryrefslogtreecommitdiff
path: root/include/linux/minmax.h
AgeCommit message (Expand)Author
2022-11-18minmax: clamp more efficiently by avoiding extra comparisonJason A. Donenfeld
2022-11-18minmax: sanity check constant bounds when clampingJason A. Donenfeld
2021-05-22linux/bits.h: fix compilation error with GENMASKRikard Falkeborn
2020-10-16kernel.h: split out min()/max() et al. helpersAndy Shevchenko