[PATCH v14 6/6] iommu/arm-smmu: add support for PRR bit setup
Bibek Kumar Patro
quic_bibekkum at quicinc.com
Mon Aug 26 02:10:27 PDT 2024
On 8/23/2024 4:07 AM, kernel test robot wrote:
>>> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:266:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 266 | (void *)smmu->ioaddr + ARM_SMMU_GFX_PRR_CFG_LADDR);
> | ^
> arch/arm/include/asm/io.h:282:75: note: in definition of macro 'writel_relaxed'
> 282 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c)
> | ^
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c:269:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 269 | (void *)smmu->ioaddr + ARM_SMMU_GFX_PRR_CFG_UADDR);
> | ^
> arch/arm/include/asm/io.h:282:75: note: in definition of macro 'writel_relaxed'
> 282 | #define writel_relaxed(v,c) __raw_writel((__force u32) cpu_to_le32(v),c)
This is fixed already in v13, but got missed in v14.
I'll take care of this in the next version.
regards,
Bibek
More information about the linux-arm-kernel
mailing list