Files
u-boot/drivers
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-01-15 15:28:53 -05:00
2019-05-21 08:03:38 +02:00
2019-05-21 07:52:34 +02:00
2019-02-27 09:12:33 +08:00
2019-05-18 08:15:35 -04:00
2019-05-18 08:15:35 -04:00
2019-02-20 15:27:08 +08:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-20 13:50:34 +02:00
2019-05-10 22:48:11 +02:00
2018-07-19 16:31:38 -04:00
2018-11-29 09:30:06 -07:00
2019-05-05 08:48:50 -04:00