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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Nov 22 02:12:01 PST 2023


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 at intel.com> 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 at linux.intel.com>
> > Suggested-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> > Suggested-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> 
> 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





More information about the linux-arm-kernel mailing list