[PATCH] clocksource: clint: Avoid remove __iomem in get_cycles_hi()

Christoph Hellwig hch at infradead.org
Wed Dec 23 03:23:30 EST 2020


On Mon, Dec 21, 2020 at 09:32:30PM -0800, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmerdabbelt at google.com>
> 
> This cast loses the __iomem qualifier from clint_timer_val, which
> triggers an sparse warning.

I'm not a native speaker, but the subject line sounds strange to me.
Shouldn't this be:

	"don't cast away the __iommu annotation"

or something similar?

Also this adds an overly long line.  Otherwise it looks fine.



More information about the linux-riscv mailing list