# Re: \[PATCH v2 2/9\] net: wireless: rtl818x: Constify ioreadX() iomem argument (as in generic implementation)

- From: Kalle Valo \<hidden\>
- Date: 2020-01-26 15:13:46 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/01/9513800
- Thread: https://ratatoskr.run/linux-arch/2020/01/5824889/t.md

```text
Krzysztof Kozlowski [ref] wrote:

> 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.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

I assume this and patch 9 are going via some other tree so dropping them
from my patchwork queue.

-- 
https://patchwork.kernel.org/patch/11324461/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
```
