[ccan] [PATCH] bitmap: add endianness casts
David Gibson
david at gibson.dropbear.id.au
Fri Dec 20 12:49:35 EST 2013
On Thu, Dec 19, 2013 at 01:00:15AM -0500, Emilio G. Cota wrote:
> From: "Emilio G. Cota" <cota at braap.org>
>
> sparse yells at us when it realises we are implicitly casting an
> endian type (big endian) to a plain unsigned long.
>
> Get rid of this warning by telling sparse that we know what
> we are doing.
>
> Signed-off-by: Emilio G. Cota <cota at braap.org>
Nice.
Acked-by: David Gibson <david at gibson.dropbear.id.au>
Is there an easy way to run sparse over ccan modules?
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20131220/8df6705f/attachment.sig>
More information about the ccan
mailing list