Re: [PATCH v2] platform/x86/intel/vsec: free ACPI discovery data on early errors

From: Ilpo Järvinen

Date: Fri Jul 10 2026 - 13:54:34 EST


On Mon, 06 Jul 2026 09:13:39 -0400, Yousef Alhouseen wrote:

> intel_vsec_add_dev() may attach an ACPI discovery table copy to the
> intel_vsec_device before passing ownership to intel_vsec_add_aux(). The
> normal auxiliary-device release path frees that copy, but the earliest
> intel_vsec_add_aux() failures free only the outer structure directly.
>
> Route those direct frees through a common helper so acpi_disc is
> released consistently on the parent, xarray, and ID allocation failure
> paths.
>
> [...]


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/1] platform/x86/intel/vsec: free ACPI discovery data on early errors
commit: 09b2ae290a241ce1f5f738fb65c35f449dcf663d

--
i.