Re: [PATCH-next] crypto: aspeed: fix type warnings

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2023-02-02 03:25:52
Also in
linux-aspeed, linux-crypto, lkml
Reply to
Neal Liu, 2023-02-02
On Thu, Feb 02, 2023 at 03:23:29AM +0000, Neal Liu wrote:
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.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (5 messages) 5 messages, 2 authors, last reply 2023-02-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help