diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2023-02-17 11:00:31 +0800 |
|---|---|---|
| committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-02-20 10:36:28 +0200 |
| commit | 342fcde9d91460f01f65707e16368a1571271a3a (patch) | |
| tree | 3707257e681783f1bb40c12a11eab841a31aca64 /lib/mpi/mpi-sub-ui.c | |
| parent | 8c464d16809fa02982f6341ea598ec5d07457f19 (diff) | |
wifi: ath11k: fix return value check in ath11k_ahb_probe()
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@huawei.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230217030031.4021289-1-yangyingliang@huawei.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
