aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorSunil V L <[email protected]>2023-07-24 10:03:46 +0000
committerPalmer Dabbelt <[email protected]>2023-08-02 20:49:43 +0000
commit568701fee36652a7660ed667a3980c945d8051e0 (patch)
tree96a4f27650926e09ed2589766bd476de05200a03 /rust/helpers.c
parentselftests: riscv: Fix compilation error with vstate_exec_nolibc.c (diff)
downloadkernel-568701fee36652a7660ed667a3980c945d8051e0.tar.gz
kernel-568701fee36652a7660ed667a3980c945d8051e0.zip
RISC-V: ACPI: Fix acpi_os_ioremap to return iomem address
acpi_os_ioremap() currently is a wrapper to memremap() on RISC-V. But the callers of acpi_os_ioremap() expect it to return __iomem address and hence sparse tool reports a new warning. Fix this issue by type casting to __iomem type. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: a91a9ffbd3a5 ("RISC-V: Add support to build the ACPI core") Signed-off-by: Sunil V L <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions