From 573400471d8f02c7ab2f94c7c28f0a188b048ab1 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 7 Jan 2011 11:35:58 +0100 Subject: cs8900: fix printf compiler warnings Signed-off-by: Sascha Hauer --- drivers/net/cs8900.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index 8120877680..b8264d7041 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -364,7 +364,7 @@ static void cs8900_info(struct device_d *dev) struct cs8900_priv *priv = (struct cs8900_priv *)edev->priv; u16 v; - printf("%s Rev. %s (PID: 0x%04x) at 0x%08x\n", priv->chip->name, + printf("%s Rev. %s (PID: 0x%04x) at 0x%p\n", priv->chip->name, priv->product->rev_name, priv->product->product_id, priv->regs); @@ -399,7 +399,7 @@ static int cs8900_check_id(struct cs8900_priv *priv) u16 v; v = cs8900_ior(priv, PP_BI_VID); if (v != CRYSTAL_SEMI_EISA_ID) { - printf("No CS89x0 variant found at 0x%08x vid: 0x%04x\n", + printf("No CS89x0 variant found at 0x%p vid: 0x%04x\n", priv->regs, v); return -1; } @@ -424,7 +424,7 @@ static int cs8900_check_id(struct cs8900_priv *priv) printf("Invalid chip type %d\n", product->chip_type); goto out; } - printf("%s Rev. %s (PID: 0x%04x) found at 0x%08x\n", chip->name, + printf("%s Rev. %s (PID: 0x%04x) found at 0x%p\n", chip->name, product->rev_name, v, priv->regs); priv->chip = chip; priv->product = product; -- cgit v1.2.3