Messages in this thread | | | Date | Mon, 10 Oct 2022 09:23:33 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH 0/3] Case-insensitive match_string and fwnode_is_compatible() |
| |
On Mon, Oct 10, 2022 at 12:21:52AM +0800, Soha Jin wrote: > I am introducing these patches for the patch for ethernet driver which I > will send later. > > In Patch 1, I abstract `match_string` to `__match_string` with a comparison > function, make the original name calling it with `strcmp` and add > `match_string_nocase` calling it with `strcasecmp`. > > In Patch 2 & 3, I implement `{device,fwnode}_property_match_string_nocase` > and `fwnode_is_compatible` for compatible property matching.
Let's ask Rob about usage of case-insensitive comparator for compatible strings.
So, why do we have such in the OF code and do we really need it in the modern world?
-- With Best Regards, Andy Shevchenko
| |