summaryrefslogtreecommitdiff
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorQinglang Miao <miaoqinglang@huawei.com>2020-11-03 16:49:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-10 10:22:20 +0100
commita8675c12b1cf04fa1f6d83a98401856f87c436ce (patch)
tree35586017a3575bdf25016e6b4b359fccbedd2784 /net/core/netpoll.c
parent9afd6f7811855974546ce217eb7a3f0f76a09011 (diff)
serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init
commit 0c5fc92622ed5531ff324b20f014e9e3092f0187 upstream. Add the missing platform_driver_unregister() before return from serial_txx9_init in the error handling case when failed to register serial_txx9_pci_driver with macro ENABLE_SERIAL_TXX9_PCI defined. Fixes: ab4382d27412 ("tty: move drivers/serial/ to drivers/tty/serial/") Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com> Link: https://lore.kernel.org/r/20201103084942.109076-1-miaoqinglang@huawei.com Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions