[U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface
Mike Frysinger
vapier at gentoo.org
Fri Feb 3 12:44:13 CET 2012
in general, i like this. my only concern would be the drivers that might
break due to incorrect cache management (which the volatile markers happen to
work around for them).
having the API accept a volatile but then casting it away puts us in a worse
place i think. on one hand, our API is saying "we treat it as volatile" when
we really don't, so any drivers that call it with a volatile don't get build
warnings. i'd just drop it from all of the net API so that the drivers which
do call with a volatile pointer get a build warning -- now the driver
maintainer knows they have to at least look at something.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120203/5cf09c98/attachment.pgp>
More information about the U-Boot
mailing list