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