Re: [PATCH v2 2/6] ACPI: bus: update acpi_dev_uid_match() to support multiple types

From: Andy Shevchenko
Date: Wed Nov 22 2023 - 05:12:13 EST


On Tue, Nov 21, 2023 at 08:25:20PM +0100, Rafael J. Wysocki wrote:
> On Tue, Nov 21, 2023 at 11:38 AM Raag Jadav <raag.jadav@xxxxxxxxx> wrote:
> >
> > According to ACPI specification, a _UID object can evaluate to either
> > a numeric value or a string. Update acpi_dev_uid_match() helper to
> > support _UID matching for both integer and string types.
> >
> > Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > Suggested-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> > Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> You need to be careful with using this. There are some things below
> that go beyond what I have suggested.

Same to me and actually I've asked several times to remove this tag of mine!

--
With Best Regards,
Andy Shevchenko