aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2025-09-22 12:20:12 +0000
committerRaphael Gallais-Pou <[email protected]>2025-11-24 12:56:16 +0000
commit620a8f131154250f6a64a07d049a4f235d6451a5 (patch)
tree57a324af355e49a1d39472164bc2a587a61788cc /lib/test_fortify/write_overflow-strlcpy-src.c
parentdrm/imagination: Document pvr_device.power member (diff)
downloadkernel-620a8f131154250f6a64a07d049a4f235d6451a5.tar.gz
kernel-620a8f131154250f6a64a07d049a4f235d6451a5.zip
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: [email protected] # 4.16 Cc: Benjamin Gaignard <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Raphael Gallais-Pou <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions