[PATCH] coresight: Fix fwnode leak on failed connection add in ACPI path
Xiangwu Lai
laixiangwu at cmss.chinamobile.com
Mon Nov 30 23:47:25 PST 2026
Hello Suzuki,
A gentle ping on this patch, sent three weeks ago on Nov 12:
coresight: Fix fwnode leak on failed connection add in ACPI path
https://lore.kernel.org/all/20261112021741.1803-1-laixiangwu@cmss.chinamobile.com/
In acpi_coresight_parse_graph(), acpi_coresight_parse_link() takes a
reference on the remote device's fwnode and stores it in conn->dest_fwnode.
If coresight_add_out_conn() then fails, the parser jumps to the free label
without dropping that reference, so the failed connection never enters the
platform data and the fwnode reference is leaked for every failed link.
Is there anything blocking this patch, or does it just need more time?
Thanks,
Xiangwu Lai
More information about the linux-arm-kernel
mailing list