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

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Thu Aug 3 08:10:22 PDT 2023


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Mon, 24 Jul 2023 15:33:46 +0530 you 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.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202307230357.egcTAefj-lkp@intel.com/
> Fixes: a91a9ffbd3a5 ("RISC-V: Add support to build the ACPI core")
> Signed-off-by: Sunil V L <sunilvl at ventanamicro.com>
> 
> [...]

Here is the summary with links:
  - [v3,-fixes] RISC-V: ACPI: Fix acpi_os_ioremap to return iomem address
    https://git.kernel.org/riscv/c/568701fee366

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list