linux/drivers/isdn
Yang Yingliang bf00f54260 isdn: mISDN: netjet: fix wrong check of device registration
The class is set in mISDN_register_device(), but if device_add() returns
error, it will lead to delete a device without added, fix this by using
device_is_registered() to check if the device is registered.

Fixes: a900845e56 ("mISDN: Add support for Traverse Technologies NETJet PCI cards")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-02 12:34:48 +00:00
..
capi isdn: move from strlcpy with unused retval to strscpy 2022-08-22 17:54:03 -07:00
hardware isdn: mISDN: netjet: fix wrong check of device registration 2022-11-02 12:34:48 +00:00
mISDN mISDN: fix possible memory leak in mISDN_register_device() 2022-11-02 12:34:48 +00:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00