summaryrefslogtreecommitdiffstats
path: root/include/linux/minmax.h
AgeCommit message (Expand)AuthorFilesLines
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