ia64/linux-2.6.18-xen.hg

changeset 30:45dfe4cfc5ef

netback: Bit-field booleans must be unsigned.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Jun 04 14:35:51 2007 +0100 (2007-06-04)
parents 2bd50dc2ffbc
children 396dfc842377
files drivers/xen/netback/common.h drivers/xen/netback/netback.c
line diff
     1.1 --- a/drivers/xen/netback/common.h	Mon Jun 04 11:23:06 2007 +0100
     1.2 +++ b/drivers/xen/netback/common.h	Mon Jun 04 14:35:51 2007 +0100
     1.3 @@ -78,8 +78,8 @@ typedef struct netif_st {
     1.4  	int features;
     1.5  
     1.6  	/* Internal feature information. */
     1.7 -	int can_queue:1;	/* can queue packets for receiver? */
     1.8 -	int copying_receiver:1;	/* copy packets to receiver?       */
     1.9 +	u8 can_queue:1;	/* can queue packets for receiver? */
    1.10 +	u8 copying_receiver:1;	/* copy packets to receiver?       */
    1.11  
    1.12  	/* Allow netif_be_start_xmit() to peek ahead in the rx request ring. */
    1.13  	RING_IDX rx_req_cons_peek;
     2.1 --- a/drivers/xen/netback/netback.c	Mon Jun 04 11:23:06 2007 +0100
     2.2 +++ b/drivers/xen/netback/netback.c	Mon Jun 04 14:35:51 2007 +0100
     2.3 @@ -46,7 +46,7 @@
     2.4  struct netbk_rx_meta {
     2.5  	skb_frag_t frag;
     2.6  	int id;
     2.7 -	int copy:1;
     2.8 +	u8 copy:1;
     2.9  };
    2.10  
    2.11  struct netbk_tx_pending_inuse {