summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-09-25 17:00:07 +0200
committerThierry Reding <treding@nvidia.com>2025-11-14 17:49:12 +0100
commit500e1368e46928f4b2259612dcabb6999afae2a6 (patch)
tree94eaa6eab51dd0695e153457ede0d6cc6029819b /rust/helpers/build_bug.c
parent3a8660878839faadb4f1a6dd72c3179c1df56787 (diff)
amba: tegra-ahb: Fix device leak on SMMU enable
Make sure to drop the reference taken to the AHB platform device when looking up its driver data while enabling the SMMU. Note that holding a reference to a device does not prevent its driver data from going away. Fixes: 89c788bab1f0 ("ARM: tegra: Add SMMU enabler in AHB") Cc: stable@vger.kernel.org # 3.5 Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions