diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-07-06 09:13:39 -0400 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-07-10 20:29:34 +0300 |
| commit | 09b2ae290a241ce1f5f738fb65c35f449dcf663d (patch) | |
| tree | bdb549a13779d5a7b375682bcb3cca699af18d1c /rust/kernel/time/hrtimer | |
| parent | 2726b5758f80a546a4ddeec5019e72035a7fa166 (diff) | |
| download | linux-09b2ae290a241ce1f5f738fb65c35f449dcf663d.tar.gz linux-09b2ae290a241ce1f5f738fb65c35f449dcf663d.zip | |
platform/x86/intel/vsec: free ACPI discovery data on early errors
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.
Fixes: 22fa2ebc11a1 ("platform/x86/intel/vsec: Plumb ACPI PMT discovery tables through vsec")
Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
Reviewed-by: David E. Box <david.e.box@linux.intel.com>
Link: https://patch.msgid.link/CAMuQ4bUtJtYNTguKoiXngROJw0QQQcrvW3=3_B0-hpMQOFqvCQ@mail.gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'rust/kernel/time/hrtimer')
0 files changed, 0 insertions, 0 deletions
