aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorBjorn Andersson2023-01-09 14:39:31 -0800
committerGreg Kroah-Hartman2023-03-10 09:33:45 +0100
commit4a46f52ae8f0c0da75ebefe8078892d700f6b147 (patch)
tree47fd8c56a2e7a5ea889602009a45ff04b0a79ce6 /arch/arm
parent09699f0e5b69a5ac6444974f7a956ad81b4026d3 (diff)
rpmsg: glink: Release driver_override
[ Upstream commit fb80ef67e8ff6a00d3faad4cb348dafdb8eccfd8 ] Upon termination of the rpmsg_device, driver_override needs to be freed to avoid leaking the potentially assigned string. Fixes: 42cd402b8fd4 ("rpmsg: Fix kfree() of static memory on setting driver_override") Fixes: 39e47767ec9b ("rpmsg: Add driver_override device attribute for rpmsg_device") Reviewed-by: Chris Lew <quic_clew@quicinc.com> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230109223931.1706429-1-quic_bjorande@quicinc.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions