Re: [PATCH v2 0/5] platform/x86: Check ACPI_COMPANION() or ACPI_HANDLE() against NULL

From: Ilpo Järvinen

Date: Tue May 19 2026 - 10:40:00 EST


On Tue, 19 May 2026, Rafael J. Wysocki wrote:

> Hi Ilpo,
>
> On Tue, May 12, 2026 at 5:17 PM Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> >
> > Hi All,
> >
> > This series replaces
> >
> > https://lore.kernel.org/linux-acpi/4731840.LvFx2qVVIh@rafael.j.wysocki/
> >
> > and as a whole it makes exactly the same code changes.
> >
> > Every platform driver can be forced to match a device that doesn't match
> > its list of device IDs because of device_match_driver_override(), so
> > platform drivers that rely on the existence of a device's ACPI companion
> > object need to verify its presence.
> >
> > Accordingly, add requisite ACPI_COMPANION() or ACPI_HANDLE() checks
> > against NULL to 5 platform/x86 drivers where they are missing.
> >
> > Thanks!
>
> I've noticed that you've picked up all of my patches except for this series.
>
> Has it been deferred on purpose or has it fallen through cracks?

Somebody is a bit impatient... ;-) Nothing has fallen through the
cracks, I just cannot apply patches infinitely fast because I also do
take time to review them while applying... :-)

~/linux/platform-fixes$ b4 ty -l 2>&1 | grep -B1 'Rafael'
3: [PATCH v2 0/5] platform/x86: Check ACPI_COMPANION() or ACPI_HANDLE() against NULL
From: Rafael J. Wysocki <rafael@xxxxxxxxxx>
--
4: [PATCH v1] platform/surface: surfacepro3_button: Check ACPI_COMPANION()
From: Rafael J. Wysocki <rafael@xxxxxxxxxx>

--
i.