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-devel

[Xen-devel] [PATCH] [MiniOS] backporting mistake in 3.4-testing

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [MiniOS] backporting mistake in 3.4-testing
From: Andre Przywara <andre.przywara@xxxxxxx>
Date: Tue, 27 Oct 2009 13:29:15 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Oct 2009 05:30:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090329)
Hi,

in xen-3.4-testing.hg c/s 19793 introduced a backporting mistake in the MiniOS console preventing 3.4 MiniOS to be built. Attached patch fixes that.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>

Regards,
Andre.

--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
diff -r 2a5604621e21 extras/mini-os/console/console.c
--- a/extras/mini-os/console/console.c  Fri Oct 23 10:34:01 2009 +0100
+++ b/extras/mini-os/console/console.c  Tue Oct 27 13:28:23 2009 +0100
@@ -99,7 +99,7 @@
             saved_char = *(curr_char+1);
             *(curr_char+1) = '\n';
             part_len = curr_char - copied_ptr + 2;
-            ring_send_fn(dev, copied_ptr, part_len);
+            ring_send_fn(copied_ptr, part_len);
             *(curr_char+1) = saved_char;
             copied_ptr = curr_char+1;
             length -= part_len - 1;
@@ -112,7 +112,7 @@
         length++;
     }
     
-    ring_send_fn(dev, copied_ptr, length);
+    ring_send_fn(copied_ptr, length);
 }
 
 void print(int direct, const char *fmt, va_list args)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>