commit | 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Sep 22 14:22:47 2022 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 26 13:17:05 2022 +0200 |
tree | ae326c65586263c54f1784ab1d308c0075314400 | |
parent | 26a5fe8aadaf097a11dea26f72800ee533bfdb7d [diff] |
drivers: serial: jsm: fix some leaks in probe [ Upstream commit 1d5859ef229e381f4db38dce8ed58e4bf862006b ] This error path needs to unwind instead of just returning directly. Fixes: 03a8482c17dd ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>