linux/drivers/soc/qcom
Chen Jiahao 0cd481c27b soc: qcom: smem: Fix incompatible types in comparison
[ Upstream commit 5f908786cf ]

This patch fixes the following sparse error:

drivers/soc/qcom/smem.c:738:30: error: incompatible types in comparison expression (different add        ress spaces):
drivers/soc/qcom/smem.c:738:30:    void *
drivers/soc/qcom/smem.c:738:30:    void [noderef] __iomem *

In addr_in_range(), "base" is of type void __iomem *, converting
void *addr to the same type to fix above sparse error.

Fixes: 20bb6c9de1 ("soc: qcom: smem: map only partitions used by local HOST")
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Link: https://lore.kernel.org/r/20230801094807.4146779-1-chenjiahao16@huawei.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:42 +02:00
..
apr.c
cmd-db.c
cpr.c
icc-bwmon.c
Kconfig
kryo-l2-accessors.c
llcc-qcom.c
Makefile
mdt_loader.c
ocmem.c
pdr_interface.c
pdr_internal.h
qcom_aoss.c
qcom_gsbi.c
qcom_stats.c
qcom-geni-se.c
qmi_encdec.c
qmi_interface.c
rmtfs_mem.c
rpmh-internal.h
rpmh-rsc.c
rpmh.c
rpmhpd.c
rpmpd.c
smd-rpm.c
smem_state.c
smem.c soc: qcom: smem: Fix incompatible types in comparison 2023-09-13 09:42:42 +02:00
smp2p.c
smsm.c
socinfo.c
spm.c
trace-rpmh.h
wcnss_ctrl.c