Re: [PATCH] Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function

From: Marcel Holtmann
Date: Fri Dec 18 2020 - 16:22:03 EST


Hi Christophe,

> Some resource should be released in the error handling path of the probe
> function, as already done in the remove function.
>
> The remove function was fixed in commit 5052de8deff5 ("soc: qcom: smd:
> Transition client drivers from smd to rpmsg")
>
> Fixes: 1511cc750c3d ("Bluetooth: Introduce Qualcomm WCNSS SMD based HCI driver")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/bluetooth/btqcomsmd.c | 27 +++++++++++++++++++--------
> 1 file changed, 19 insertions(+), 8 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel