diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-06-09 17:17:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 14:31:31 +0300 |
commit | 499e13aac6c762e1e828172b0f0f5275651d6512 (patch) | |
tree | a8bc36f573458d338fd2e9c54d8d1368dd6e7ec6 /fs/afs/dir_silly.c | |
parent | 654a8d6c93e77ecff2256ca3ab2cd98967821f0a (diff) | |
download | linux-499e13aac6c762e1e828172b0f0f5275651d6512.tar.xz |
tty: goldfish: Fix free_irq() on remove
Pass the correct dev_id to free_irq() to fix this splat when the driver
is unbound:
WARNING: CPU: 0 PID: 30 at kernel/irq/manage.c:1895 free_irq
Trying to free already-free IRQ 65
Call Trace:
warn_slowpath_fmt
free_irq
goldfish_tty_remove
platform_remove
device_remove
device_release_driver_internal
device_driver_detach
unbind_store
drv_attr_store
...
Fixes: 465893e18878e119 ("tty: goldfish: support platform_device with id -1")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220609141704.1080024-1-vincent.whitchurch@axis.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/afs/dir_silly.c')
0 files changed, 0 insertions, 0 deletions