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-03-19 16:11:42 +01:00
2024-07-19 12:39:34 -07:00
2024-07-27 10:53:06 -07:00
2024-01-18 15:21:00 -08:00
2024-07-18 09:34:02 -07:00
2024-07-19 11:57:55 -07:00
2024-05-16 08:56:49 -07:00
2024-05-27 13:39:51 +02:00
2024-04-24 11:06:26 -07:00
2024-04-25 20:55:49 -07:00
2024-05-23 12:04:36 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-18 17:17:30 -07:00
2024-07-25 10:42:22 -07:00
2024-05-02 20:35:57 +02:00
2024-07-22 11:32:05 -07:00
2024-03-11 15:37:23 -07:00
2024-04-29 16:28:07 -07:00
2024-07-09 17:01:46 +02:00
2024-07-03 19:29:59 -07:00
2024-07-08 01:51:05 -06:00
2024-07-22 11:32:05 -07:00
2024-07-16 16:42:37 -07:00
2024-06-24 18:29:20 +02:00
2024-04-23 09:03:37 +09:00
2024-07-09 17:58:20 +02:00
2024-07-26 09:50:36 -07:00
2024-07-15 11:39:44 -07:00
2024-06-11 12:57:49 -05:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2024-06-21 15:40:55 +05:30
2024-01-18 09:48:40 -08:00
2024-03-12 23:08:29 -07:00
2024-05-27 11:08:31 +02:00
2024-04-15 16:03:24 -04:00
2024-06-28 10:36:45 +02:00
2024-07-09 17:01:46 +02:00
2024-05-21 15:29:01 -07:00
2024-05-19 14:36:17 -07:00
2024-07-15 14:20:22 -07:00
2024-07-03 19:29:52 -07:00
2024-05-27 16:50:03 +02:00
2024-07-25 10:42:22 -07:00
2024-02-28 19:36:39 -08:00
2024-07-19 09:59:58 -07:00
2024-02-14 11:14:40 +01:00
2024-06-24 22:24:56 -07:00
2024-06-17 12:30:07 -07:00
2024-05-22 11:53:02 -07:00
2024-07-03 19:30:23 -07:00
2024-02-17 16:20:41 +01:00
2024-06-05 19:19:26 -07:00
2024-07-16 09:51:36 -04:00
2024-05-03 10:44:42 +01:00
2024-07-10 12:14:54 -07:00
2024-07-16 14:50:44 -07:00
2024-03-16 10:04:12 -07:00
2024-07-25 10:42:22 -07:00
2024-07-23 11:43:40 -07:00
2024-07-08 13:47:27 -04:00
2024-06-24 22:25:02 -07:00
2024-07-26 08:06:15 -06:00
2024-03-26 11:07:20 -07:00
2024-06-28 09:52:05 +02:00
2024-07-19 12:39:34 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-03-13 12:53:53 -07:00
2024-03-13 12:53:53 -07:00
2024-07-25 13:18:41 -07:00
2024-07-10 17:52:47 +02:00
2024-04-02 18:03:32 -07:00
2024-03-08 12:05:10 +01:00
2024-04-03 09:59:38 +01:00
2024-02-15 12:17:28 -05:00
2024-04-09 10:53:44 +02:00
2024-07-02 18:59:33 -07:00
2024-07-20 12:41:03 -07:00
2024-05-04 18:57:21 +02:00
2024-07-10 07:59:03 +02:00
2024-07-18 12:19:20 -07:00
2024-04-08 11:49:02 +01:00
2024-03-27 07:52:34 -07:00
2024-05-06 12:05:00 +02:00
2024-05-15 12:34:46 -07:00
2024-04-07 02:42:36 -04:00
2024-07-04 11:00:31 -04:00
2024-06-24 18:16:44 +01:00
2024-02-09 12:07:48 +00:00
2024-04-25 20:55:48 -07:00