Re: [PATCH v2] qed: Add cleanup in qed_slowpath_start()

From: David Miller
Date: Thu Aug 22 2019 - 19:11:49 EST


From: Wenwen Wang <wenwen@xxxxxxxxxx>
Date: Tue, 20 Aug 2019 23:46:36 -0500

> If qed_mcp_send_drv_version() fails, no cleanup is executed, leading to
> memory leaks. To fix this issue, introduce the label 'err4' to perform the
> cleanup work before returning the error.
>
> Signed-off-by: Wenwen Wang <wenwen@xxxxxxxxxx>

Applied.