Trent Piepho
b061ef39c3
core: ofnode: Have ofnode_read_u32_default return a u32
...
It was returning an int, which doesn't work if the u32 it is reading,
or the default value, will overflow a signed int.
While it could be made to work, when using a C standard/compiler where
casting negative signed values to unsigned has a defined behavior,
combined with careful casting, it seems obvious one is meant to use
ofnode_read_s32_default() with signed values.
Cc: Simon Glass <sjg@chromium.org >
Signed-off-by: Trent Piepho <tpiepho@impinj.com >
2019-05-21 17:33:23 -06:00
..
2019-03-11 15:53:19 +09:00
2019-05-18 12:32:01 -04:00
2018-10-28 09:26:39 -04:00
2018-07-23 14:33:21 -04:00
2019-01-15 15:28:53 -05:00
2019-05-21 08:03:38 +02:00
2018-12-10 10:04:45 +01:00
2019-05-05 08:48:50 -04:00
2019-05-21 07:52:34 +02:00
2019-05-21 17:33:23 -06:00
2019-02-27 09:12:33 +08:00
2019-05-21 07:52:33 +02:00
2019-01-30 21:22:53 -05:00
2019-05-18 08:15:35 -04:00
2019-04-21 10:26:52 +02:00
2019-05-03 07:23:17 -04:00
2019-05-10 22:48:11 +02:00
2019-05-10 22:48:11 +02:00
2018-12-06 23:26:33 -05:00
2019-05-21 07:13:35 -04:00
2019-02-20 09:01:45 -07:00
2019-04-23 17:57:22 -04:00
2018-10-28 09:26:39 -04:00
2019-05-21 17:33:23 -06:00
2019-05-20 11:34:27 +08:00
2019-05-21 07:52:33 +02:00
2019-05-18 08:15:35 -04:00
2019-05-19 16:17:33 +08:00
2019-02-20 15:27:08 +08:00
2019-05-20 13:50:34 +02:00
2019-05-09 10:38:32 +02:00
2019-05-08 17:34:12 +08:00
2019-04-12 15:43:19 -04:00
2019-05-01 00:00:05 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-09 20:22:05 -04:00
2019-05-10 22:48:11 +02:00
2019-04-25 00:00:49 +02:00
2019-02-19 08:55:43 -05:00
2019-05-13 07:13:03 -04:00
2018-07-19 16:31:38 -04:00
2019-04-11 20:07:12 -04:00
2019-05-01 00:00:05 +02:00
2019-05-15 07:10:32 -04:00
2019-05-10 07:18:13 -04:00
2019-05-09 19:52:55 -04:00
2019-05-10 22:48:11 +02:00
2018-11-29 09:30:06 -07:00
2019-05-09 19:52:55 -04:00
2019-05-21 07:12:46 -04:00
2018-11-14 09:16:28 -08:00
2019-01-01 14:12:18 +01:00
2018-11-16 16:51:55 -05:00
2019-05-18 12:31:58 -04:00
2019-05-05 08:48:50 -04:00
2019-05-07 09:37:11 -04:00