[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ab0ce429-a70e-990b-bef4-290deb36ddab@gmail.com>
Date: Thu, 28 May 2020 20:37:21 +0800
From: Qi Zheng <arch0.zheng@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: frowand.list@...il.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] of/fdt: Remove redundant kbasename function call
Hi Rob,
Thanks for your review.
I will send you a patch of v2 later.
Yours,
Qi Zheng
On 2020/5/28 上午2:27, Rob Herring wrote:
> On Tue, May 12, 2020 at 11:49:09PM +0800, Qi Zheng wrote:
>> For version 1 to 3 of the device tree, this is the node full
>> path as a zero terminated string, starting with "/". The
>> following equation will not hold, since the node name has
>> been processed in the fdt_get_name().
>>
>> *pathp == '/'
>>
>> For version 16 and later, this is the node unit name only
>> (or an empty string for the root node). So the above
>> equation will still not hold.
>>
>> So the kbasename() is redundant, just remove it.
>
> There's 2 occurrences of this. Can you remove the other one too.
>
> Rob
>
Powered by blists - more mailing lists