[U-Boot] [PATCH] core: ofnode: do not assert if node not valid in ofnode_get_name()【请注意，邮件由sjg at google.com代发】
kever.yang at rock-chips.com
Mon Aug 19 12:20:31 UTC 2019
On 2019/7/25 上午3:48, Simon Glass wrote:
> On Thu, 18 Jul 2019 at 20:24, Kever Yang <kever.yang at rock-chips.com> wrote:
>> In some case with LIVE DT, some node always not valid, or not have
>> a valid name, eg. blk driver add by mmc.
>> Return fail instead of Assert for this kind of ofnode, and this
>> help with assert happen from time to time when of_live is enabled
>> and DEBUG is enabled.
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>> drivers/core/ofnode.c | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-rockchip.
More information about the U-Boot