Linus Torvalds 017fa3e891 minmax: simplify and clarify min_t()/max_t() implementation
This simplifies the min_t() and max_t() macros by no longer making them
work in the context of a C constant expression.

That means that you can no longer use them for static initializers or
for array sizes in type definitions, but there were only a couple of
such uses, and all of them were converted (famous last words) to use
MIN_T/MAX_T instead.

Cc: David Laight <David.Laight@aculab.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-07-28 13:50:01 -07:00
..
2024-07-25 10:42:22 -07:00
2024-07-23 14:32:21 -07:00
2024-07-27 10:53:06 -07:00
2024-07-25 10:42:22 -07:00
2024-07-19 12:39:34 -07:00
2024-07-26 11:01:31 -07:00
2024-07-25 10:42:22 -07:00