summaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorZheyu Ma <zheyuma97@gmail.com>2022-05-21 06:55:17 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:34 +0100
commitd3741027e5787daf5f19bce99b291f3e296b8894 (patch)
treed84f895d4bf40e6254fbb8ba5af25170dba11b21 /scripts/basic
parenta1a9b71ebd6582c94090ee5b70fb3eabf7088f22 (diff)
downloadlinux-d3741027e5787daf5f19bce99b291f3e296b8894.tar.gz
linux-d3741027e5787daf5f19bce99b291f3e296b8894.zip
media: tw5864: Convert to use managed functions pcim* and devm*
When removing the module, we will get the follow flaw: [ 69.323999] remove_proc_entry: removing non-empty directory 'irq/21', leaking at least 'tw5864' [ 69.324449] WARNING: CPU: 0 PID: 395 at fs/proc/generic.c:717 remove_proc_entry+0x389/0x3f0 [ 69.326909] RIP: 0010:remove_proc_entry+0x389/0x3f0 [ 69.331089] Call Trace: [ 69.331215] <TASK> [ 69.331327] unregister_irq_proc+0x14c/0x170 [ 69.332579] tw5864_finidev+0x12a/0x190 [tw5864] [ 69.332811] pci_device_remove+0x92/0x240 Fix this by using managed functions, this makes the error handling more simpler. Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions