Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> 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