commit | ff9a5e50fb1910be33e62925bc7ee3bef474879e | [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:15:43 2022 +0200 |
tree | f2cfa12880e49b168760d9eace2c2d589026e82d | |
parent | e01f64a346a6d3aaf595c48e6f4987da84915e04 [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>