diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-05-04 14:25:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-30 10:49:30 +0300 |
commit | 5320ed6abc5802f8de7c23beac241d91359f5740 (patch) | |
tree | ac8e12b3bc37517441ecae24b8496beb580f6e3b /LICENSES | |
parent | f123603a8d1d10dc2bf5406dd3ca7a2347c9ec13 (diff) | |
download | linux-5320ed6abc5802f8de7c23beac241d91359f5740.tar.xz |
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>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions