Re: [PATCH 3/5] of: Correct property name comparison in __of_add_property()
From: Rob Herring
Date: Tue Feb 25 2025 - 14:58:01 EST
On Tue, Feb 25, 2025 at 11:04:55PM +0800, Zijun Hu wrote:
> On 2025/2/25 22:38, Rob Herring wrote:
> > On Mon, Feb 24, 2025 at 10:27:59PM +0800, Zijun Hu wrote:
> >> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> >>
> >> __of_add_property() compares property name by strcmp(), and that is
> >> improper for SPARC which wants strcasecmp().
> > Except that 'name' is the nodename (usually, with a few rare
> > exceptions). Sparc node names are case sensitive, so strcmp was correct.
>
> Here, it is property's name and NOT node's name.
Sigh, indeed... Applied.
Rob