aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2025-08-14 07:11:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-08-18 18:18:33 +0200
commitb21d1fbb97c814c76ffa392cd603f8cd3ecc0355 (patch)
treef10439c5284345eb61a818161a3d78fb10133acd /tools/perf/scripts/python
parentACPI: APEI: EINJ: fix potential NULL dereference in __einj_error_inject() (diff)
downloadwireguard-linux-b21d1fbb97c814c76ffa392cd603f8cd3ecc0355.tar.xz
wireguard-linux-b21d1fbb97c814c76ffa392cd603f8cd3ecc0355.zip
ACPI: APEI: EINJ: Fix resource leak by remove callback in .exit.text
The .remove() callback is also used during error handling in faux_probe(). As einj_remove() was marked with __exit it's not linked into the kernel if the driver is built-in, potentially resulting in resource leaks. Also remove the comment justifying the __exit annotation which doesn't apply any more since the driver was converted to the faux device interface. Fixes: 6cb9441bfe8d ("ACPI: APEI: EINJ: Transition to the faux device interface") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Cc: 6.16+ <stable@vger.kernel.org> # 6.16+ Link: https://patch.msgid.link/20250814051157.35867-2-u.kleine-koenig@baylibre.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions