aboutsummaryrefslogtreecommitdiff
path: root/include/linux/minmax.h
AgeCommit message (Expand)AuthorFilesLines
2023-10-18minmax: relax check to allow comparison between unsigned arguments and signed...Gravatar David Laight 1-7/+17
2023-10-18minmax: allow comparisons of 'int' against 'unsigned char/short'Gravatar David Laight 1-2/+3
2023-10-18minmax: fix indentation of __cmp_once() and __clamp_once()Gravatar David Laight 1-15/+15
2023-10-18minmax: allow min()/max()/clamp() if the arguments have the same signedness.Gravatar David Laight 1-28/+32
2023-10-18minmax: add umin(a, b) and umax(a, b)Gravatar David Laight 1-0/+17
2023-10-04minmax: fix header inclusionsGravatar Andy Shevchenko 1-1/+2
2023-10-04minmax: deduplicate __unconst_integer_typeof()Gravatar Andy Shevchenko 1-23/+3
2023-08-30Merge tag 'sound-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Gravatar Linus Torvalds 1-0/+64
2023-08-24minmax: add in_range() macroGravatar Matthew Wilcox (Oracle) 1-0/+27
2023-07-09minmax: Introduce {min,max}_array()Gravatar Herve Codina 1-0/+64
2022-11-18minmax: clamp more efficiently by avoiding extra comparisonGravatar Jason A. Donenfeld 1-1/+1
2022-11-18minmax: sanity check constant bounds when clampingGravatar Jason A. Donenfeld 1-2/+24
2021-05-22linux/bits.h: fix compilation error with GENMASKGravatar Rikard Falkeborn 1-8/+2
2020-10-16kernel.h: split out min()/max() et al. helpersGravatar Andy Shevchenko 1-0/+153