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] Fix typo in console_steal

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix typo in console_steal
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 8 Feb 2007 19:54:28 +0800
Delivery-date: Thu, 08 Feb 2007 03:54:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdLd+DDVAZmT9iIRuiP7VvRsnoSCQ==
Thread-topic: [PATCH] Fix typo in console_steal
Fix a typo in console_steal.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>

Thanks,
Kevin

diff -r 780f097b54c5 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Wed Feb 07 17:29:52 2007 +0000
+++ b/xen/drivers/char/console.c        Thu Feb 08 19:51:20 2007 +0800
@@ -223,7 +223,7 @@ int console_steal(int handle, void (*fn)
     if ( (handle == -1) || (handle != sercon_handle) )
         return 0;
 
-    if ( serial_steal_fn == NULL )
+    if ( serial_steal_fn != NULL )
         return -EBUSY;
 
     serial_steal_fn = fn;

Attachment: fix_console_steal.patch
Description: fix_console_steal.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix typo in console_steal, Tian, Kevin <=