Dan Carpenter
e0c379bd58
Bluetooth: qca: Fix error code in qca_read_fw_build_info()
...
[ Upstream commit a189f0ee6685457528db7a36ded3085e5d13ddc3 ]
Return -ENOMEM on allocation failure. Don't return success.
Fixes: cda0d6a198e2 ("Bluetooth: qca: fix info leak when fetching fw build id")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:03:20 +02:00
..
2022-03-18 17:12:09 +01:00
2022-03-18 17:12:09 +01:00
2021-10-25 15:04:46 +02:00
2023-05-24 17:32:39 +01:00
2022-07-21 17:04:38 -07:00
2024-04-13 13:05:27 +02:00
2022-01-21 21:37:48 +01:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2024-04-13 13:05:03 +02:00
2024-04-13 13:05:03 +02:00
2022-07-21 17:08:03 -07:00
2024-01-25 15:27:30 -08:00
2024-06-12 11:03:20 +02:00
2024-05-17 11:56:23 +02:00
2023-03-30 12:49:12 +02:00
2021-09-29 00:13:48 +02:00
2023-05-24 17:32:40 +01:00
2023-05-24 17:32:39 +01:00
2023-09-06 21:27:01 +01:00
2024-05-02 16:29:28 +02:00
2021-06-26 07:52:41 +02:00
2022-12-31 13:33:05 +01:00
2022-12-31 13:32:29 +01:00
2021-11-16 13:57:25 +01:00
2023-05-24 17:32:39 +01:00
2022-07-21 17:05:10 -07:00
2022-09-19 10:33:39 -07:00
2022-12-31 13:32:28 +01:00
2023-09-13 09:42:32 +02:00
2024-05-17 11:55:51 +02:00
2022-09-19 10:33:39 -07:00
2021-07-22 16:06:09 +02:00
2024-01-01 12:38:57 +00:00
2022-03-18 17:12:07 +01:00
2021-10-25 15:36:23 +02:00
2022-11-02 14:15:42 -07:00