Re: [PATCH 4/5] of: Do not change property state under __of_add_property() failure
From: Zijun Hu
Date: Tue Feb 25 2025 - 10:27:10 EST
On 2025/2/25 22:41, Rob Herring wrote:
> On Mon, Feb 24, 2025 at 10:28:00PM +0800, Zijun Hu wrote:
>> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>>
>> Do not remove the property from list @np->deadprops if
>> __of_add_property() encounters -EEXIST failure.
> A property can never be on both np->deadprops and np->props.
i made this patch based on convention that
partial task which has been done successfully needs to be undid if fails
to do the remaining task.
It is okay to drop this patch based on condition you mentioned.
thank you. (^^)(^^)