diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-13 00:02:20 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-13 00:02:20 +0100 |
commit | bad8c4a850eaf386df681d951e3afc06bf1c7cf8 (patch) | |
tree | a348010cf1ac174e431af125b5d784c4d18e7667 /sound | |
parent | Merge tag 'timers-urgent-2023-01-12' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
parent | xen/pvcalls: free active map buffer on pvcalls_front_free_map (diff) | |
download | linux-bad8c4a850eaf386df681d951e3afc06bf1c7cf8.tar.xz linux-bad8c4a850eaf386df681d951e3afc06bf1c7cf8.zip |
Merge tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross:
- two cleanup patches
- a fix of a memory leak in the Xen pvfront driver
- a fix of a locking issue in the Xen hypervisor console driver
* tag 'for-linus-6.2-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen/pvcalls: free active map buffer on pvcalls_front_free_map
hvc/xen: lock console list traversal
x86/xen: Remove the unused function p2m_index()
xen: make remove callback of xen driver void returned
Diffstat (limited to 'sound')
-rw-r--r-- | sound/xen/xen_snd_front.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/xen/xen_snd_front.c b/sound/xen/xen_snd_front.c index 4041748c12e5..b66e037710d0 100644 --- a/sound/xen/xen_snd_front.c +++ b/sound/xen/xen_snd_front.c @@ -311,7 +311,7 @@ static int xen_drv_probe(struct xenbus_device *xb_dev, return xenbus_switch_state(xb_dev, XenbusStateInitialising); } -static int xen_drv_remove(struct xenbus_device *dev) +static void xen_drv_remove(struct xenbus_device *dev) { struct xen_snd_front_info *front_info = dev_get_drvdata(&dev->dev); int to = 100; @@ -345,7 +345,6 @@ static int xen_drv_remove(struct xenbus_device *dev) xen_snd_drv_fini(front_info); xenbus_frontend_closed(dev); - return 0; } static const struct xenbus_device_id xen_drv_ids[] = { |