|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295
Keir Fraser <keir@xxxxxxxxxxxxx> wrote:
>
> My suspicion is that, strictly speaking, the assignment of 1 to
> copying_receiver is invalid because a single-bit bitfield can only hold the
> values -1 and 0. Older gcc perhaps mapped 1 to -1, but 4.2.0 is mapping 1 to
> 0 (or choosing to do that as an optimisation, since it has the choice, and
> hence can simplify the code to always write zero in this case). That sucks.
That's why we always use unsigned for bitfields in Linux.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, (continued)
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Jacek Konieczny
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Keir Fraser
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Jacek Konieczny
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Keir Fraser
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Jacek Konieczny
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Jacek Konieczny
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Keir Fraser
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Jacek Konieczny
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Keir Fraser
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Mark Williamson
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295,
Herbert Xu <=
- Re: [Xen-devel] netfront: rx->offset: 12, size: 4294967295, Mark Williamson
|
|
|
|
|