summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-07-25 09:40:19 +0200
committerNeil Armstrong <neil.armstrong@linaro.org>2025-09-04 15:13:53 +0200
commit8ece3173f87df03935906d0c612c2aeda9db92ca (patch)
treec71c73765634818ee3a4884b313b5f01a932bde2 /fs/xfs/xfs_error.c
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
firmware: meson_sm: fix device leak at probe
Make sure to drop the reference to the secure monitor device taken by of_find_device_by_node() when looking up its driver data on behalf of other drivers (e.g. during probe). Note that holding a reference to the platform device does not prevent its driver data from going away so there is no point in keeping the reference after the helper returns. Fixes: 8cde3c2153e8 ("firmware: meson_sm: Rework driver as a proper platform driver") Cc: stable@vger.kernel.org # 5.5 Cc: Carlo Caione <ccaione@baylibre.com> Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lore.kernel.org/r/20250725074019.8765-1-johan@kernel.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'fs/xfs/xfs_error.c')
0 files changed, 0 insertions, 0 deletions