]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
GCC4.6: Squash warnings in ks8695eth.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Oct 2011 23:40:01 +0000 (23:40 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:07 +0000 (23:54 +0200)
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>
drivers/net/ks8695eth.c

index cd368808f2c90bb894add593787f0b3bf6fd5949..8e988d1423df33d90e412556eab5d08dcaf73e3a 100644 (file)
@@ -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];