[PATCH] riscv: time: Add missing __iomem in get_cycles() and get_cycles_hi()

Paul Walmsley pjw at kernel.org
Sun Jul 19 10:59:58 PDT 2026


On Thu, 16 Jul 2026, Nam Cao wrote:

> __iomem is missing while calling readl_relaxed() in get_cycles() and
> get_cycles_hi() and sparse complains.
> 
> Add __iomem to silence the sparse warnings.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202607160619.14G8GHp5-lkp@intel.com/
> Signed-off-by: Nam Cao <namcao at linutronix.de>

Thanks, queued for v7.2-rc.

\
- Paul



More information about the linux-riscv mailing list