mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 10/24] cs8900: fix printf compiler warnings
Date: Fri,  7 Jan 2011 11:43:50 +0100	[thread overview]
Message-ID: <1294397044-5008-11-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/net/cs8900.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c
index 8120877..b8264d7 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;
-- 
1.7.2.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2011-01-07 10:44 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 10:43 fix printf related " Sascha Hauer
2011-01-07 10:43 ` [PATCH 01/24] i.MX: fix printf " Sascha Hauer
2011-01-07 10:43 ` [PATCH 02/24] net: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 03/24] fec_imx: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 04/24] nand: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 05/24] cdev: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 06/24] usb: add missing byteorder include Sascha Hauer
2011-01-07 10:43 ` [PATCH 07/24] add to speed Sascha Hauer
2011-01-10 19:49   ` Uwe Kleine-König
2011-01-07 10:43 ` [PATCH 08/24] eukrea_cpuimx35: fix printf compiler warnings Sascha Hauer
2011-01-07 10:43 ` [PATCH 09/24] blackfin: " Sascha Hauer
2011-01-07 10:43 ` Sascha Hauer [this message]
2011-01-07 10:43 ` [PATCH 11/24] dm9000: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 12/24] smc911x: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 13/24] ipe337: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 14/24] device tree: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 15/24] netx: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 16/24] guf-cupid: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 17/24] pcm043: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 18/24] at91: " Sascha Hauer
2011-01-07 10:43 ` [PATCH 19/24] ppc: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 20/24] imx-esdhc: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 21/24] mci-core: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 22/24] imx-ipu-fb: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 23/24] mpc5xxx: " Sascha Hauer
2011-01-07 10:44 ` [PATCH 24/24] i.MX nand: do not select NAND_IMX_BOOT Sascha Hauer
2011-01-07 11:05   ` Juergen Beisert
2011-01-07 11:14     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294397044-5008-11-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox