[PATCH] ath11k: fix error code in ath11k_qmi_assign_target_mem_chunk()
Kalle Valo
kvalo at kernel.org
Mon Jan 17 04:37:35 PST 2022
Dan Carpenter <dan.carpenter at oracle.com> wrote:
> The "ret" vairable is not set at this point. It could be uninitialized
> or zero. The correct thing to return is -ENODEV.
>
> Fixes: 6ac04bdc5edb ("ath11k: Use reserved host DDR addresses from DT for PCI devices")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
c9b41832dc08 ath11k: fix error code in ath11k_qmi_assign_target_mem_chunk()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220111071445.GA11243@kili/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list