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-05-18 21:19:23 -04:00
2020-08-22 07:59:14 -06:00
2020-01-27 07:22:41 +01:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-07-25 14:46:57 -06:00
2018-05-07 09:34:12 -04:00
2020-07-17 14:32:24 +08:00
2020-07-17 14:32:24 +08:00
2020-07-17 14:32:24 +08:00
2020-07-25 14:46:57 -06:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-07-09 06:02:44 +02:00
2020-07-09 06:02:44 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-07-17 14:32:24 +08:00
2020-07-25 14:46:57 -06: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-07-25 14:46:57 -06:00
2020-05-18 21:19:18 -04:00
2020-07-25 14:46:57 -06:00
2020-04-20 06:52:28 +02:00
2020-08-20 09:46:55 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2020-07-29 08:43:40 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2020-07-27 15:18:15 -04:00
2020-07-29 08:43:40 -04:00
2020-07-09 06:02:44 +02:00
2020-07-25 14:46:57 -06:00
2020-01-27 07:23:26 +01:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-07-09 18:57:22 -06:00
2020-07-25 14:46:57 -06:00
2018-05-07 09:34:12 -04:00
2020-07-17 14:32:24 +08:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2020-07-09 06:02:45 +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