Ovidiu Panait
3fe69d3764
dm: core: Fix devfdt_get_addr_ptr return value
...
According to the description of devfdt_get_addr_ptr, this function should
return NULL on failure, but currently it returns (void *)FDT_ADDR_T_NONE.
Fix this by making devfdt_get_addr_ptr return NULL on failure, as
described in the function comments. Also, update the drivers currently
checking (void *)FDT_ADDR_T_NONE to check for NULL.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com >
Reviewed-by: Simon Glass <sjg@chromium.org >
2020-08-22 07:59:14 -06:00
..
2020-07-25 14:46:57 -06:00
2019-07-19 14:24:51 +08:00
2020-08-22 07:59:14 -06:00
2020-07-09 18:57:22 -06:00
2020-07-25 14:46:57 -06:00
2020-07-14 15:23:47 +08:00
2020-03-05 18:19:40 +08:00
2020-08-03 22:19:54 -04:00
2020-08-19 17:38:15 -04:00
2020-05-18 21:19:23 -04:00
2019-10-25 17:20:44 +02:00
2020-05-18 21:19:23 -04:00
2020-07-07 16:09:22 -04:00
2020-07-27 11:15:37 -04:00
2020-07-22 20:22:00 +08:00
2020-08-04 09:19:41 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-02-05 19:33:46 -07:00
2020-01-16 09:39:45 -05:00
2020-08-03 21:11:41 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-07-07 16:01:23 +02:00
2020-08-20 10:57:46 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:23 -04:00
2020-07-01 15:01:21 +08:00
2020-05-18 21:19:18 -04:00
2020-08-03 22:19:54 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-08-03 21:11:41 +02:00
2020-08-03 21:11:41 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00