[PATCH net-next] ath11k: return -ENOMEM on allocation failure
Kalle Valo
kvalo at codeaurora.org
Thu Aug 27 06:19:59 EDT 2020
Dan Carpenter <dan.carpenter at oracle.com> wrote:
> Returning PTR_ERR(NULL) means success, but we should return -ENOMEM.
>
> Fixes: 1399fb87ea3e ("ath11k: register MHI controller device for QCA6390")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
fd0a09097233 ath11k: return -ENOMEM on allocation failure
--
https://patchwork.kernel.org/patch/11738005/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list