[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] netback: Bit-field booleans must be unsigned.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1180964151 -3600
# Node ID 45dfe4cfc5ef81f158cbf301a10939ed66dcc483
# Parent  2bd50dc2ffbcae334c8d36f64f1ff09330242394
netback: Bit-field booleans must be unsigned.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 drivers/xen/netback/common.h  |    4 ++--
 drivers/xen/netback/netback.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 2bd50dc2ffbc -r 45dfe4cfc5ef drivers/xen/netback/common.h
--- a/drivers/xen/netback/common.h      Mon Jun 04 11:23:06 2007 +0100
+++ b/drivers/xen/netback/common.h      Mon Jun 04 14:35:51 2007 +0100
@@ -78,8 +78,8 @@ typedef struct netif_st {
        int features;
 
        /* Internal feature information. */
-       int can_queue:1;        /* can queue packets for receiver? */
-       int copying_receiver:1; /* copy packets to receiver?       */
+       u8 can_queue:1; /* can queue packets for receiver? */
+       u8 copying_receiver:1;  /* copy packets to receiver?       */
 
        /* Allow netif_be_start_xmit() to peek ahead in the rx request ring. */
        RING_IDX rx_req_cons_peek;
diff -r 2bd50dc2ffbc -r 45dfe4cfc5ef drivers/xen/netback/netback.c
--- a/drivers/xen/netback/netback.c     Mon Jun 04 11:23:06 2007 +0100
+++ b/drivers/xen/netback/netback.c     Mon Jun 04 14:35:51 2007 +0100
@@ -46,7 +46,7 @@ struct netbk_rx_meta {
 struct netbk_rx_meta {
        skb_frag_t frag;
        int id;
-       int copy:1;
+       u8 copy:1;
 };
 
 struct netbk_tx_pending_inuse {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.