On 11/28/20 2:39 PM, Zhang Qilong wrote:
The patch series fix the error handling to avoid the reference
leak and wrong state for the net device.
Zhang Qilong (2):
can: c_can: Fix error handling in c_can_power_up
can: kvaser_pciefd: Fix error handling in kvaser_pciefd_open
drivers/net/can/c_can/c_can.c | 18 ++++++++++++++----
drivers/net/can/kvaser_pciefd.c | 4 +++-
2 files changed, 17 insertions(+), 5 deletions(-)
Applied to linux-can/testing.
Tnx,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |