Masahiro Yamada
b41411954d
linux/kernel.h: sync min, max, min3, max3 macros with Linux
...
U-Boot has never cared about the type when we get max/min of two
values, but Linux Kernel does. This commit gets min, max, min3, max3
macros synced with the kernel introducing type checks.
Many of references of those macros must be fixed to suppress warnings.
We have two options:
- Use min, max, min3, max3 only when the arguments have the same type
(or add casts to the arguments)
- Use min_t/max_t instead with the appropriate type for the first
argument
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com >
Acked-by: Pavel Machek <pavel@denx.de >
Acked-by: Lukasz Majewski <l.majewski@samsung.com >
Tested-by: Lukasz Majewski <l.majewski@samsung.com >
[trini: Fixup arch/blackfin/lib/string.c]
Signed-off-by: Tom Rini <trini@ti.com >
2014-11-23 06:48:30 -05:00
..
2014-10-23 11:53:02 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-11-13 08:48:48 +09:00
2014-11-07 16:32:02 +01:00
2014-10-10 09:44:43 -04:00
2014-09-13 16:43:55 -04:00
2014-11-05 12:48:09 -05:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-11-17 08:47:18 -05:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-11-13 16:23:38 +01:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-10-23 09:59:21 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-10-22 21:50:33 -06:00
2014-10-29 09:02:09 -04:00
2014-10-23 09:59:21 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-11-07 16:27:07 -05:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-11-07 16:18:35 -05:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-23 09:59:21 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-11-01 18:18:05 +01:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-10-27 14:35:55 +01:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-11-10 16:25:27 -05:00
2014-10-29 09:02:09 -04:00
2014-11-13 08:48:48 +09:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-11-23 06:48:30 -05:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-11-04 15:01:46 -05:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-11-23 06:48:30 -05:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-08-30 21:22:00 -04:00
2014-10-23 11:53:02 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-10-27 14:35:56 +01:00
2014-09-13 16:43:55 -04:00
2014-11-23 06:48:30 -05:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-23 09:59:21 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:27 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:27 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-11-07 16:27:07 -05:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-11-13 08:37:18 -05:00
2014-09-24 18:30:27 -04:00
2014-10-27 11:03:33 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:27 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-11-13 08:37:18 -05:00
2014-11-07 16:27:08 -05:00
2014-11-13 08:37:18 -05:00
2014-11-01 18:18:05 +01:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-11-13 08:48:48 +09:00
2014-11-13 08:48:48 +09:00
2014-11-13 08:48:48 +09:00
2014-11-13 08:48:48 +09:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:27 -04:00
2014-09-13 16:43:55 -04:00
2014-10-25 07:27:37 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-27 09:05:43 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-23 11:53:02 -04:00
2014-11-01 18:18:04 +01:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-10-27 14:35:55 +01:00
2014-10-29 09:02:09 -04:00
2014-11-01 18:18:04 +01:00
2014-09-13 16:43:55 -04:00
2014-10-23 09:59:21 -04:00
2014-10-29 09:02:09 -04:00
2014-11-17 08:43:40 -05:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-10-30 19:56:16 +09:00
2014-09-21 12:03:06 -06:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-09-13 16:43:55 -04:00
2014-11-07 16:27:07 -05:00
2014-10-29 09:02:09 -04:00
2014-10-23 09:59:21 -04:00
2014-11-13 08:48:48 +09:00
2014-11-17 08:47:18 -05:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-11-13 14:49:02 +01:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-11-13 18:09:23 +01:00
2014-09-24 18:30:28 -04:00
2014-09-24 18:30:28 -04:00
2014-10-27 09:05:43 -04:00
2014-10-23 11:53:02 -04:00
2014-11-13 08:37:18 -05:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-11-05 12:48:09 -05:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-13 16:43:55 -04:00
2014-09-24 18:30:28 -04:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00
2014-10-25 15:27:36 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-10-29 09:02:09 -04:00
2014-09-24 18:30:28 -04:00
2014-11-11 10:51:43 +01:00
2014-09-13 16:43:55 -04:00
2014-10-29 09:02:09 -04:00