[PATCH v2 5/9] arc: Constify ioreadX() iomem argument (as in generic implementation)

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Jan 9 17:59:03 AEDT 2020


Hi Krzysztof,

> The ioreadX() helpers have inconsistent interface.  On some architectures
> void *__iomem address argument is a pointer to const, on some not.
> 
> Implementations of ioreadX() do not modify the memory under the
> address so they can be converted to a "const" version for const-safety
> and consistency among architectures.

Thanks for this clean-up. Looks good to me, so ...

Acked-by: Alexey Brodkin <abrodkin at synopsys.com>



More information about the Linuxppc-dev mailing list