diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-05-04 14:25:43 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-05-14 17:51:09 +0300 |
commit | a189f0ee6685457528db7a36ded3085e5d13ddc3 (patch) | |
tree | be1c288b15fb010484b158a5a6d98cbae6492fc6 /net/dns_resolver | |
parent | ea9e148c803b24ebbc7a74171f22f42c8fd8d644 (diff) | |
download | linux-a189f0ee6685457528db7a36ded3085e5d13ddc3.tar.xz |
Bluetooth: qca: Fix error code in qca_read_fw_build_info()
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>
Diffstat (limited to 'net/dns_resolver')
0 files changed, 0 insertions, 0 deletions