Re: [PATCH v2 00/16] platform/x86: Check ACPI_COMPANION() against NULL during probe

From: Ilpo Järvinen

Date: Tue May 19 2026 - 08:30:11 EST


On Tue, 12 May 2026 16:01:43 +0200, Rafael J. Wysocki wrote:

> This series replaces
>
> https://lore.kernel.org/linux-acpi/5990022.DvuYhMxLoT@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-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[01/16] platform/x86: acer-wireless: Check ACPI_COMPANION() against NULL
commit: 227e86af748bd804813b2200b6ae73ceaacaa383
[02/16] platform/x86: asus-laptop: Check ACPI_COMPANION() against NULL
commit: 75d47068603646439930d6db1794fa363c2819da
[03/16] platform/x86: dell/dell-rbtn: Check ACPI_COMPANION() against NULL
commit: 948d2ee19da7f886a3c4f9954a42c3c77facb8e0
[04/16] platform/x86: eeepc-laptop: Check ACPI_COMPANION() against NULL
commit: a0e070895d849e2e73d56a1f95c9093c10da2741
[05/16] platform/x86: fujitsu: Check ACPI_COMPANION() against NULL
commit: 493c2f4ca878a843ae0f7efb695b0ac4bcf628eb
[06/16] platform/x86: fujitsu-tablet: Check ACPI_COMPANION() against NULL
commit: 7de479068fdcf34e64807324e794c76675776740
[07/16] platform/x86: intel/rst: Check ACPI_COMPANION() against NULL
commit: 4f47c9d8b97b6c1e2534fec7f28b6b6e5daa30b6
[08/16] platform/x86: intel/smartconnect: Check ACPI_HANDLE() against NULL
commit: c37b59d57cb373e70156bbe1978cea9846d2f0ec
[09/16] platform/x86: lg-laptop: Check ACPI_COMPANION() against NULL
commit: fea5ef6f3265e6a0202f8b27e4a648c800e3b9a9
[10/16] platform/x86: panasonic-laptop: Check ACPI_COMPANION() against NULL
commit: 2c49165dc1a4e9187dc39599ae286518feac99be
[11/16] platform/x86: sony-laptop: Check ACPI_COMPANION() against NULL
commit: 93ecc19cbb7830d0f9d33756f4c19414f61622d2
[12/16] platform/x86: system76: Check ACPI_COMPANION() against NULL
commit: 3dceea280d76c674bd36f1928115ba4e8f6b7a5e
[13/16] platform/x86: toshiba_acpi: Check ACPI_COMPANION() against NULL
commit: 9742234cb913394746b45279ec0c25f906d0924b
[14/16] platform/x86: toshiba_bluetooth: Check ACPI_COMPANION() against NULL
commit: aab866f5d75e4720d3a4ef7dac1d3ab84432205c
[15/16] platform/x86: toshiba_haps: Check ACPI_COMPANION() against NULL
commit: 74fc85c475f3886bd4804d92f372be73e7dfac98
[16/16] platform/x86: wireless-hotkey: Check ACPI_COMPANION() against NULL
commit: ad893c008d568dccf89e3bcaadfc4dd3797183c7

--
i.