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

[Xen-changelog] Trivial cleanup in netfront driver.



ChangeSet 1.1739, 2005/06/23 11:01:17+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Trivial cleanup in netfront driver.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 netfront.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/netfront/netfront.c 
b/linux-2.6.11-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/netfront/netfront.c   2005-06-23 
07:06:18 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/netfront/netfront.c   2005-06-23 
07:06:18 -04:00
@@ -1343,7 +1343,7 @@
 {
     struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
     struct net_private *np = netdev_priv(dev);
-    int len = 0, which_target = (unsigned long) data & 3;
+    int len = 0, which_target = (long)data & 3;
     
     switch (which_target)
     {
@@ -1368,7 +1368,7 @@
 {
     struct net_device *dev = (struct net_device *)((unsigned long)data & ~3UL);
     struct net_private *np = netdev_priv(dev);
-    int which_target = (unsigned long) data & 3;
+    int which_target = (long)data & 3;
     char string[64];
     long target;
 

_______________________________________________
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®.