linux/drivers/net/can/softing
Zhang Qilong 4d1be581ec can: softing: softing_netdev_open(): fix error handling
If softing_netdev_open() fails, we should call close_candev() to avoid
reference leak.

Fixes: 03fd3cf5a1 ("can: add driver for Softing card")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Link: https://lore.kernel.org/r/20201202151632.1343786-1-zhangqilong3@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20201204133508.742120-2-mkl@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-05 13:08:11 -08:00
..
Kconfig can: softing: update dead link 2020-09-21 10:13:16 +02:00
Makefile
softing.h
softing_cs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 344 2019-06-05 17:37:07 +02:00
softing_fw.c can: drivers: fix spelling mistakes 2020-09-21 10:13:16 +02:00
softing_main.c can: softing: softing_netdev_open(): fix error handling 2020-12-05 13:08:11 -08:00
softing_platform.h can: drivers: fix spelling mistakes 2020-09-21 10:13:16 +02:00