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:52:13 EST
On Tue, 12 May 2026 17:10:35 +0200, Rafael J. Wysocki wrote:
> 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.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/5] platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULL
commit: e7a9a6ea40e352cd7977f6a8c80bdeadf65ad838
[2/5] platform/x86: hp_accel: Check ACPI_COMPANION() against NULL
commit: abfbe5ee8ae89f1f5449790423d5dd3e423545bd
[3/5] platform/x86: intel-hid: Check ACPI_HANDLE() against NULL
commit: 5c69e090ae5dd93d910f70db0796357080707d26
[4/5] platform/x86: intel_sar: Check ACPI_HANDLE() against NULL
commit: 2765f16c12af7c2533763e46b8113b727354012d
[5/5] platform/x86: intel-vbtn: Check ACPI_HANDLE() against NULL
commit: a9f305c5a355efeb240d406d378491d9eec02d07
--
i.