aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-09-24 21:55:14 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-01 12:45:50 +0200
commit083a92996598a5080965f1baa84175082e14a45b (patch)
treea26ab548b1c482a94235fc4e715dd111e67e48e9 /scripts/Makefile.thinlto
parentmedia: em28xx: complete frames from non-interlaced sources (diff)
media: rtl28xxu: fix SDR platform device leak
rtl2832u_tuner_attach() registers an rtl2832_sdr platform device, but does not unregister it if no driver is bound. It also does not take a reference on the bound driver module. Unregister the platform device when no driver is bound or the module reference cannot be acquired. Drop the module reference in rtl28xxu_tuner_detach() before unregistering the device. The issue was identified by a static analysis tool I developed and confirmed by manual review. Fixes: a2f7f220df5e ("[media] rtl28xxu: switch SDR module to platform driver") Cc: stable@vger.kernel.org Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions