diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-24 23:40:01 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-27 23:54:07 +0200 |
commit | 99724a2d91ca531ff7ade7728bfcad462ae0fe2f (patch) | |
tree | 9619df03766a8ec0779078e13c9489783fb9043a /drivers/net/ks8695eth.c | |
parent | b89c708bb732d615bdeecd4dfce1e2a180f90c4e (diff) | |
download | u-boot-imx-99724a2d91ca531ff7ade7728bfcad462ae0fe2f.zip u-boot-imx-99724a2d91ca531ff7ade7728bfcad462ae0fe2f.tar.gz u-boot-imx-99724a2d91ca531ff7ade7728bfcad462ae0fe2f.tar.bz2 |
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 <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/net/ks8695eth.c')
-rw-r--r-- | drivers/net/ks8695eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c index cd36880..8e988d1 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]; |