diff options
| author | Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com> | 2026-11-06 23:15:50 +0530 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-11-08 13:57:37 -0600 |
| commit | dfcd5046c3b434107c72f21fc32d6226bf281f4a (patch) | |
| tree | b17da795330edd192715ed7fda287ea7252eefcd /scripts/Makefile.thinlto | |
| parent | 772724ad88a2ebd3826a0dd33dbfbbb11f0d4ca0 (diff) | |
| download | linux-next-dfcd5046c3b434107c72f21fc32d6226bf281f4a.tar.gz linux-next-dfcd5046c3b434107c72f21fc32d6226bf281f4a.zip | |
remoteproc: qcom_q6v5_mss: Release OF node references in init_mem
q6v5_init_mem() parses the qcom,qaccept-regs and qcom,ext-regs
(index 1) properties with of_parse_phandle_with_fixed_args(), which
takes a reference on the returned device-tree node. The two blocks
copy the integer arguments and never release the node, unlike the
other parse blocks in the function, which call of_node_put() once the
node is no longer needed.
Release the node once the arguments have been copied. The leak
affects SC7280 boards whose device tree sets these properties.
Fixes: c842379d00f1 ("remoteproc: mss: q6v5-mss: Add modem support on SC7280")
Signed-off-by: Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20261106-b4-q6v5_mss_of_refs-v1-1-58402c8fafec@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
