[PATCH -next] wifi: ath11k: fix return value check in ath11k_ahb_probe()
Kalle Valo
kvalo at kernel.org
Mon Feb 20 00:36:37 PST 2023
Yang Yingliang <yangyingliang at huawei.com> wrote:
> ioremap() returns NULL pointer not PTR_ERR() when it fails,
> so replace the IS_ERR() check with NULL pointer check.
>
> Fixes: b42b3678c91f ("wifi: ath11k: remap ce register space for IPQ5018")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
342fcde9d914 wifi: ath11k: fix return value check in ath11k_ahb_probe()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230217030031.4021289-1-yangyingliang@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list