[U-Boot] [PATCH] core: ofnode: do not assert if node not valid in ofnode_get_name()【请注意,邮件由sjg at google.com代发】

Kever Yang kever.yang at rock-chips.com
Mon Aug 12 04:33:56 UTC 2019


Hi Simon,


     Who is suppose to apply this patch, it's delegate to Philipp now, 
should I take it?


Thanks,

- Kever

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>
>




More information about the U-Boot mailing list