summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-21 13:18:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-02 12:57:28 +0100
commitb2d6246ef36f4d3e254e02ca36cdfff5fa6d17fa (patch)
tree9376a6a209f04853c7aa033c2d675e46489c9880 /include/net/aligned_data.h
parent3ce2b4aec8cd1460629802d9a6c1873abee6a04c (diff)
soc: samsung: exynos-pmu: fix device leak on regmap lookup
commit 990eb9a8eb4540ab90c7b34bb07b87ff13881cad upstream. Make sure to drop the reference taken when looking up the PMU device and its regmap. Note that holding a reference to a device does not prevent its regmap from going away so there is no point in keeping the reference. Fixes: 0b7c6075022c ("soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs") Cc: stable@vger.kernel.org # 6.9 Cc: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251121121852.16825-1-johan@kernel.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions