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

[Xen-changelog] Trivial fixes.



ChangeSet 1.1236.1.216, 2005/04/05 12:52:27+01:00, bren@xxxxxxxxxxxxxxxxxxxxxxx

        Trivial fixes.



 blkback/blkback.c |    3 +--
 console/console.c |    2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c 
b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     2005-04-05 
12:22:32 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/blkback/blkback.c     2005-04-05 
12:22:32 -04:00
@@ -627,8 +627,7 @@
                 (bio_add_page(bio,
                               virt_to_page(MMAP_VADDR(pending_idx, i)),
                               seg[i].nsec << 9,
-                              seg[i].buf & ~PAGE_MASK) <
-                 (seg[i].nsec << 9)) )
+                              seg[i].buf & ~PAGE_MASK) == 0) )
         {
             bio = biolist[nbio++] = bio_alloc(GFP_KERNEL, nseg-i);
             if ( unlikely(bio == NULL) )
diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/console/console.c 
b/linux-2.6.11-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/console/console.c     2005-04-05 
12:22:32 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/console/console.c     2005-04-05 
12:22:32 -04:00
@@ -87,6 +87,8 @@
         n = simple_strtol( str+3, &q, 10 );
         if ( q > (str + 3) ) xc_num = n;
         break;
+    default:
+        break;
     }
 
     return 1;

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