]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 12 Dec 2020 09:46:58 +0000 (10:46 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Dec 2020 21:20:21 +0000 (22:20 +0100)
commita0132d303def07d112880cded1472be7a17a4a57
tree35412099df2a2f4497422e191733789e1ad8d99b
parent37b135fb2dafd69d2175fcfd0bf2e4d9a5baa40d
Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function

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 92e92ec5ef13 ("soc: qcom: smd:
Transition client drivers from smd to rpmsg")

Fixes: b6e9cf9ede84 ("Bluetooth: Introduce Qualcomm WCNSS SMD based HCI driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqcomsmd.c