Linus Torvalds
cb04e8b1d2
minmax: don't use max() in situations that want a C constant expression
...
We only had a couple of array[] declarations, and changing them to just
use 'MAX()' instead of 'max()' fixes the issue.
This will allow us to simplify our min/max macros enormously, since they
can now unconditionally use temporary variables to avoid using the
argument values multiple times.
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 20:23:27 -07:00
..
2023-09-06 14:23:47 -07:00
2024-05-13 15:43:19 -07:00
2023-09-06 14:23:47 -07:00
2023-09-06 14:23:47 -07:00
2023-09-06 14:23:47 -07:00
2024-07-15 14:03:44 -07:00
2024-05-13 15:43:19 -07:00
2024-07-12 17:15:08 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2023-07-07 16:54:28 -07:00
2024-05-13 14:09:57 -07:00
2024-05-13 15:43:19 -07:00
2023-05-17 09:59:11 -07:00
2024-07-28 20:23:27 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2024-06-09 14:38:48 -07:00
2024-05-13 15:43:19 -07:00
2024-06-09 14:38:38 -07:00
2024-06-09 14:38:38 -07:00
2024-06-22 01:29:17 -07:00
2024-05-13 15:43:19 -07:00
2024-06-09 14:38:38 -07:00
2024-05-13 15:43:19 -07:00
2024-06-22 00:58:44 -07:00
2023-09-06 14:27:18 -07:00
2024-06-09 14:38:38 -07:00
2024-07-11 09:58:35 -07:00
2024-07-08 10:01:19 -07:00
2024-06-09 14:38:38 -07:00
2024-01-30 15:16:32 -08:00
2024-05-13 15:43:19 -07:00
2024-06-28 15:09:05 -07:00
2024-01-30 15:16:32 -08:00
2024-05-27 21:37:18 -07:00
2024-06-09 14:38:38 -07:00
2024-06-09 14:38:38 -07:00
2024-05-13 15:43:19 -07:00
2024-07-08 16:22:50 -07:00
2023-12-13 21:26:11 -08:00
2023-05-17 09:59:11 -07:00
2024-07-15 14:03:44 -07:00
2024-05-13 15:43:19 -07:00
2024-07-08 16:22:48 -07:00
2024-06-09 14:38:38 -07:00
2023-12-13 21:26:11 -08:00
2023-12-13 21:26:11 -08:00
2024-01-30 15:16:32 -08:00
2023-07-10 17:44:30 -07:00
2023-09-23 19:28:15 -07:00
2024-01-30 15:16:32 -08:00
2024-05-13 15:43:19 -07:00
2023-09-23 19:28:15 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2023-05-17 09:59:11 -07:00
2024-06-09 14:38:38 -07:00
2023-07-10 11:50:38 -07:00
2023-09-23 19:28:16 -07:00
2024-06-09 14:38:38 -07:00
2023-07-17 10:03:07 -07:00
2024-05-13 15:43:19 -07:00
2023-07-07 16:54:29 -07:00
2024-06-28 15:14:41 -07:00
2024-05-13 15:43:19 -07:00
2024-06-03 11:10:08 +02:00
2024-05-13 15:43:19 -07:00
2023-05-17 09:59:11 -07:00
2024-05-13 15:43:19 -07:00
2023-09-23 19:28:16 -07:00
2023-09-23 19:28:16 -07:00
2024-06-09 14:38:38 -07:00
2023-07-07 16:54:30 -07:00
2023-07-07 16:54:30 -07:00
2024-02-09 10:53:24 -08:00
2024-06-09 14:38:38 -07:00
2024-06-09 14:38:38 -07:00
2024-06-09 14:38:38 -07:00
2024-06-09 14:38:38 -07:00
2023-09-06 14:29:03 -07:00
2023-09-06 14:29:03 -07:00
2024-05-13 15:43:19 -07:00
2023-09-06 14:29:03 -07:00
2024-05-13 15:43:19 -07:00
2024-06-09 14:38:38 -07:00
2024-05-13 15:43:19 -07:00
2024-06-28 15:06:29 -07:00
2024-05-13 15:43:19 -07:00
2023-09-23 19:28:17 -07:00
2023-09-23 19:28:17 -07:00
2024-05-13 15:43:19 -07:00
2024-05-13 15:43:19 -07:00
2023-05-17 09:59:11 -07:00