Re: [PATCH] platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe
From: Ilpo Järvinen
Date: Tue Sep 15 2026 - 19:24:18 EST
On Tue, 11 Aug 2026 10:21:15 +0800, Xueqin Luo wrote:
> Add NULL check for ACPI_COMPANION() in topstar_acpi_probe() to prevent
> NULL pointer dereference when driver_override matches a device without
> ACPI companion.
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.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86: Add ACPI_COMPANION() NULL check in topstar_acpi_probe
commit: 17d0f874b1f8774c61ad495a4ad20ed8c829dfae
--
i.