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

- From: Alexey Brodkin \<hidden\>
- Date: 2020-01-09 17:51:54 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/01/9177173
- Thread: https://ratatoskr.run/dri-devel/2020/01/5824889/t.md

```text
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@synopsys.com>

```
