]> git.sur5r.net Git - u-boot/commitdiff
GCC4.6: Squash warnings in sata_sil3114.c
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Oct 2011 14:17:23 +0000 (14:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:54:05 +0000 (23:54 +0200)
sata_sil3114.c: In function 'sata_identify':
sata_sil3114.c:174: warning: format '%x' expects type 'unsigned int', but
argument 2 has type 'lbaint_t'

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/block/sata_sil3114.c

index d43064e0f166b3aa9463b53bcedd629b2514a938..1e60636ec20fde13f30b951669b719ecf8593a46 100644 (file)
@@ -171,7 +171,7 @@ static void sata_identify (int num, int dev)
        sata_dev_desc[devno].removable = 0;
 
        sata_dev_desc[devno].lba = (u32) n_sectors;
-       debug ("lba=0x%x\n", sata_dev_desc[devno].lba);
+       debug("lba=0x%lx\n", sata_dev_desc[devno].lba);
 
 #ifdef CONFIG_LBA48
        if (iobuf[83] & (1 << 10)) {