Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The ath11k_ce_alloc_ring() function returns error pointers on error, not > NULL. The rest of the driver assumes that "pipe->src_ring" is either > valid or NULL so this patch introduces a temporary varaible to avoid > leaving it as an error pointer. > > Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") > 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. c76fa846b0e1 ath11k: checking for NULL vs IS_ERR() -- https://patchwork.kernel.org/patch/11290421/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches