[PATCH-next] crypto: aspeed: fix type warnings
Neal Liu
neal_liu at aspeedtech.com
Thu Feb 2 14:29:40 AEDT 2023
> >
> > 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
More information about the Linux-aspeed
mailing list