[Mesa-dev] [PATCH 3/3] gallium: Use util_cpu_to_le{16, 32} in many more places.
Eric Anholt
eric at anholt.net
Sun Feb 22 23:26:38 PST 2015
Matt Turner <mattst88 at gmail.com> writes:
> ... and util_le{16,32}_to_cpu. I think I've used the right ones for
> describing the actual operation performed (even though they're both just
> "byte-swap this if I'm on big-endian").
>
> The Linux Kernel has typedefs __le32/__be32 and friends that static
> analysis tools can use to check that byte-orderings are correct. It
> might be interesting to apply that here as well.
> ---
> Untested.
2 and 3 are:
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150223/5e65d9f9/attachment.sig>
More information about the mesa-dev
mailing list