WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] netback: Bit-field booleans must be unsigned.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jun 2007 02:23:16 -0700
Delivery-date: Mon, 11 Jun 2007 02:26:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] netback: Bit-field booleans must be unsigned., Xen patchbot-linux-2.6.18-xen <=