summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:23 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:05 +0200
commit5779a9e2c3c18f88072236fc9a98ff5536ad8787 (patch)
treedc80be49f4ddf5c4d346cf8def7f27ee1db9e397
parentd015df8fb1121d81a1f49817e4316746cc1e4e5b (diff)
downloadu-boot-imx-5779a9e2c3c18f88072236fc9a98ff5536ad8787.zip
u-boot-imx-5779a9e2c3c18f88072236fc9a98ff5536ad8787.tar.gz
u-boot-imx-5779a9e2c3c18f88072236fc9a98ff5536ad8787.tar.bz2
GCC4.6: Squash warnings in sata_sil3114.c
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>
-rw-r--r--drivers/block/sata_sil3114.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sata_sil3114.c b/drivers/block/sata_sil3114.c
index d43064e..1e60636 100644
--- a/drivers/block/sata_sil3114.c
+++ b/drivers/block/sata_sil3114.c
@@ -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)) {