summaryrefslogtreecommitdiff
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
authorMax Kellermann <max.kellermann@gmail.com>2016-08-10 00:32:11 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-18 20:02:39 +0300
commit1f4ed6cd58f36574237926f35bdec50116669909 (patch)
tree1c9da70bf6753eaa1c91ab7627d40b02f8f8a35f /drivers/xen/swiotlb-xen.c
parentbd336e63441bcdeeccca6a698087d913a32478c5 (diff)
downloadlinux-1f4ed6cd58f36574237926f35bdec50116669909.tar.xz
[media] dvbdev: split dvb_unregister_device()
dvb_unregister_device() has a major problem: it combines unregistering with memory disposal. Sometimes, it is necessary to unregister a device, but no memory can be freed yet, because a process still has a (stale) file handle. Therefore, we need to split dvb_unregister_device(). This will allow sanitizing a few callers. With my new design, dvb_unregister_device() appears misnamed, but to reduce patch noise, I'm not renaming it just yet. Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions