forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/tty/serial/jsm/jsm_driver.c
....@@ -16,7 +16,7 @@
1616
1717 #include "jsm.h"
1818
19
-MODULE_AUTHOR("Digi International, http://www.digi.com");
19
+MODULE_AUTHOR("Digi International, https://www.digi.com");
2020 MODULE_DESCRIPTION("Driver for the Digi International Neo and Classic PCI based product line");
2121 MODULE_LICENSE("GPL");
2222 MODULE_SUPPORTED_DEVICE("jsm");
....@@ -212,7 +212,8 @@
212212
213213 break;
214214 default:
215
- return -ENXIO;
215
+ rc = -ENXIO;
216
+ goto out_kfree_brd;
216217 }
217218
218219 rc = request_irq(brd->irq, brd->bd_ops->intr, IRQF_SHARED, "JSM", brd);