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

[Xen-changelog] [xen-unstable] [IA64] Fix a few warnings.



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID e4a75a3fd0e2fc701c8babbacedabdcff4d7822a
# Parent  e97e31e26bd5985514d331298eb264a07e368b7e
[IA64] Fix a few warnings.

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>
---
 xen/arch/ia64/xen/pcdp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r e97e31e26bd5 -r e4a75a3fd0e2 xen/arch/ia64/xen/pcdp.c
--- a/xen/arch/ia64/xen/pcdp.c  Tue Jun 27 16:35:59 2006 -0600
+++ b/xen/arch/ia64/xen/pcdp.c  Tue Jun 27 16:42:41 2006 -0600
@@ -47,7 +47,7 @@ pcdp_hp_irq_fixup(struct pcdp *pcdp, str
        struct acpi_table_header *hdr;
        int i;
 
-       if (pcdp->rev >= 3 || strcmp(pcdp->oemid, "HP"))
+       if (pcdp->rev >= 3 || strcmp((char *)pcdp->oemid, "HP"))
                return;
 
        /*
@@ -130,7 +130,7 @@ setup_pcdp_irq(struct pcdp *pcdp, struct
                        ns16550_com1.irq = ns16550_com1_gsi = uart->gsi;
                        ns16550_com1_polarity = IOSAPIC_POL_LOW;
                        ns16550_com1_trigger = IOSAPIC_LEVEL;
-               } else if (!strcmp(pcdp->oemid, "HP"))
+               } else if (!strcmp((char *)pcdp->oemid, "HP"))
                        pcdp_hp_irq_fixup(pcdp, uart);
        }
 }

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