]> www.infradead.org Git - users/dwmw2/linux.git/commit
greybus: svc: fix an error handling bug in gb_svc_hello()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 2 Feb 2022 11:33:45 +0000 (12:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:39:50 +0000 (14:39 +0200)
commit25cd5872d9a76da68c60cd8018cbb0f1bf439711
tree819cf02d09318f9957a8f65adf1c9c4f142aa52d
parent9f0cd81174579c4ca1f02d9f90bae88b916810e0
greybus: svc: fix an error handling bug in gb_svc_hello()

commit 5f8583a3b7552092582a92e7bbd2153319929ad7 upstream.

Cleanup if gb_svc_queue_deferred_request() fails.

Link: https://lore.kernel.org/r/20220202072016.GA6748@kili
Fixes: ee2f2074fdb2 ("greybus: svc: reconfig APBridgeA-Switch link to handle required load")
Cc: stable@vger.kernel.org # 4.9
[johan: fix commit summary prefix and rename label ]
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20220202113347.1288-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/greybus/svc.c