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