linux-stable/drivers/tty/serial/jsm
Dan Carpenter 1d5859ef22 drivers: serial: jsm: fix some leaks in probe
This error path needs to unwind instead of just returning directly.

Fixes: 03a8482c17 ("drivers: serial: jsm: Enable support for Digi Classic adapters")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YyxFh1+lOeZ9WfKO@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-22 16:11:43 +02:00
..
jsm.h tty: serial: Use the correct style for SPDX License Identifier 2020-03-07 09:52:01 +01:00
jsm_cls.c serial: jsm: Use B0 instead of 0 2022-05-19 18:26:17 +02:00
jsm_driver.c drivers: serial: jsm: fix some leaks in probe 2022-09-22 16:11:43 +02:00
jsm_neo.c serial: jsm: Use B0 instead of 0 2022-05-19 18:26:17 +02:00
jsm_tty.c serial: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
Makefile