[PATCH v3 -fixes] RISC-V: ACPI: Fix acpi_os_ioremap to return iomem address

Palmer Dabbelt palmer at rivosinc.com
Thu Aug 3 07:45:25 PDT 2023


On Mon, 24 Jul 2023 15:33:46 +0530, Sunil V L wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] RISC-V: ACPI: Fix acpi_os_ioremap to return iomem address
      https://git.kernel.org/palmer/c/568701fee366

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>




More information about the linux-riscv mailing list