From: Marek Vasut Date: Mon, 24 Oct 2011 23:40:01 +0000 (+0000) Subject: GCC4.6: Squash warnings in ks8695eth.c X-Git-Tag: v2011.12-rc1~358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=99724a2d91ca531ff7ade7728bfcad462ae0fe2f;p=u-boot GCC4.6: Squash warnings in ks8695eth.c ks8695eth.c:199:2: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'volatile void *' Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c index cd368808f2..8e988d1423 100644 --- a/drivers/net/ks8695eth.c +++ b/drivers/net/ks8695eth.c @@ -196,7 +196,7 @@ static int ks8695_eth_send(struct eth_device *dev, volatile void *packet, volatile struct ks8695_txdesc *dp; static int next = 0; - debug ("%s(%d): eth_send(packet=%x,len=%d)\n", __FILE__, __LINE__, + debug ("%s(%d): eth_send(packet=%p,len=%d)\n", __FILE__, __LINE__, packet, len); dp = &ks8695_tx[next];