Re: [PATCH v2 0/5] platform/x86: Check ACPI_COMPANION() or ACPI_HANDLE() against NULL
From: Rafael J. Wysocki
Date: Tue May 19 2026 - 10:35:06 EST
On Tue, May 19, 2026 at 4:26 PM Ilpo Järvinen
<ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
>
> 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... :-)
Oh, sorry, I should have waited a bit longer, but it is similar to one
of the other series, so I wasn't quite sure what happened.
> ~/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>
>
> --