ia64/xen-unstable

changeset 10519:e4a75a3fd0e2

[IA64] Fix a few warnings.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
author awilliam@xenbuild.aw
date Tue Jun 27 16:42:41 2006 -0600 (2006-06-27)
parents e97e31e26bd5
children c4b68afe97d3
files xen/arch/ia64/xen/pcdp.c
line diff
     1.1 --- a/xen/arch/ia64/xen/pcdp.c	Tue Jun 27 16:35:59 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/pcdp.c	Tue Jun 27 16:42:41 2006 -0600
     1.3 @@ -47,7 +47,7 @@ pcdp_hp_irq_fixup(struct pcdp *pcdp, str
     1.4  	struct acpi_table_header *hdr;
     1.5  	int i;
     1.6  
     1.7 -	if (pcdp->rev >= 3 || strcmp(pcdp->oemid, "HP"))
     1.8 +	if (pcdp->rev >= 3 || strcmp((char *)pcdp->oemid, "HP"))
     1.9  		return;
    1.10  
    1.11  	/*
    1.12 @@ -130,7 +130,7 @@ setup_pcdp_irq(struct pcdp *pcdp, struct
    1.13  			ns16550_com1.irq = ns16550_com1_gsi = uart->gsi;
    1.14  			ns16550_com1_polarity = IOSAPIC_POL_LOW;
    1.15  			ns16550_com1_trigger = IOSAPIC_LEVEL;
    1.16 -		} else if (!strcmp(pcdp->oemid, "HP"))
    1.17 +		} else if (!strcmp((char *)pcdp->oemid, "HP"))
    1.18  			pcdp_hp_irq_fixup(pcdp, uart);
    1.19  	}
    1.20  }