# RE: \[PATCH-next\] crypto: aspeed: fix type warnings

- From: Neal Liu \<neal\_liu@aspeedtech.com\>
- Date: 2023-02-02 03:29:48 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2023/02/2088086
- Thread: https://ratatoskr.run/linux-arm-kernel/2023/02/2088048/t.md

```text
> >
> > I cannot tell which way is better. Do you prefer to keep the iomem marker?
> 
> The whole point of iomem is to prevent you from directly dereferencing that
> memory.  So casting it away to remove the warning simply defeats its
> purpose.
> 
> If you're worried about the overhead of readb perhaps you can look into
> readb_relaxed after considering the effects of the barriers.
> 
Thanks for the information. I'll send next patch as you suggested.

-Neal

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
