|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Properly compare "pci" token when groking serial port config
# HG changeset patch
# User Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
# Date 1322149519 0
# Node ID 8e05b21ee6448ce56e4e56201472e87074344fa6
# Parent 67d2ac426defedad9c10eb339019f9dc9f02d2ae
Properly compare "pci" token when groking serial port config
Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
---
diff -r 67d2ac426def -r 8e05b21ee644 xen/drivers/char/ns16550.c
--- a/xen/drivers/char/ns16550.c Thu Nov 24 15:44:51 2011 +0000
+++ b/xen/drivers/char/ns16550.c Thu Nov 24 15:45:19 2011 +0000
@@ -554,7 +554,7 @@
if ( *conf == ',' )
{
conf++;
- if ( strncmp(conf, "pci", 5) == 0 )
+ if ( strncmp(conf, "pci", 3) == 0 )
{
if ( pci_uart_config(uart, 1/* skip AMT */, uart - ns16550_com) )
return;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |