linux-stable/drivers/net/can/sja1000
Zhang Changzhong 92dfd9310a can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
Add the missing free_sja1000dev() before return from
sja1000_isa_probe() in the register_sja1000dev() error handling case.

In addition, remove blanks before goto labels.

Fixes: 2a6ba39ad6 ("can: sja1000: legacy SJA1000 ISA bus driver")
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Link: https://lore.kernel.org/all/1668168521-5540-1-git-send-email-zhangchangzhong@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-11-24 16:09:39 +01:00
..
Kconfig can: Fix Links to Technologic Systems web resources 2022-04-19 17:12:12 +02:00
Makefile can: sja1000: f81601: add Fintek F81601 support 2019-07-24 10:30:37 +02:00
ems_pci.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
ems_pcmcia.c can: sja1000: fix use after free in ems_pcmcia_add_card() 2021-12-07 09:08:58 +01:00
f81601.c can: sja1000: f81601: remove unused including <linux/version.h> 2019-08-13 16:37:03 +02:00
kvaser_pci.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
peak_pci.c can: peak_pci: peak_pci_remove(): fix UAF 2021-10-17 22:51:50 +02:00
peak_pcmcia.c net: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:07 -07:00
plx_pci.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
sja1000.c can: dev: fix skb drop check 2022-11-07 14:00:27 +01:00
sja1000.h can: sja1000: Add Quirk for RZ/N1 SJA1000 CAN controller 2022-07-19 20:46:59 +02:00
sja1000_isa.c can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev() 2022-11-24 16:09:39 +01:00
sja1000_platform.c can: sja1000: Add support for RZ/N1 SJA1000 CAN Controller 2022-09-05 22:00:43 +02:00
tscan1.c can: Fix Links to Technologic Systems web resources 2022-04-19 17:12:12 +02:00