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

From: Christoph Hellwig
Date: Wed Dec 23 2020 - 03:24:34 EST


On Mon, Dec 21, 2020 at 09:32:30PM -0800, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
>
> 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.