diff options
| author | Johan Hovold <johan@kernel.org> | 2025-09-22 15:20:12 +0300 |
|---|---|---|
| committer | Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com> | 2025-11-24 15:56:16 +0300 |
| commit | 620a8f131154250f6a64a07d049a4f235d6451a5 (patch) | |
| tree | 57a324af355e49a1d39472164bc2a587a61788cc /net/unix/af_unix.c | |
| parent | 83c53f1a2d6c4c8c19354b926367d0e82dcd6386 (diff) | |
| download | linux-620a8f131154250f6a64a07d049a4f235d6451a5.tar.xz | |
drm: sti: fix device leaks at component probe
Make sure to drop the references taken to the vtg devices by
of_find_device_by_node() when looking up their driver data during
component probe.
Note that holding a reference to a platform device does not prevent its
driver data from going away so there is no point in keeping the
reference after the lookup helper returns.
Fixes: cc6b741c6f63 ("drm: sti: remove useless fields from vtg structure")
Cc: stable@vger.kernel.org # 4.16
Cc: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20250922122012.27407-1-johan@kernel.org
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
