summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-03 08:04:22 -0500
committerMike Frysinger <vapier@gentoo.org>2012-02-12 15:03:26 -0500
commit44f67f784889e1a27958fa3e995abe41ab925697 (patch)
tree8dcb04c46702c8d51e9265d11909b589f1f8e852 /drivers
parent3f54108be93587612786e5f7e5f5468893ff0de9 (diff)
downloadu-boot-imx-44f67f784889e1a27958fa3e995abe41ab925697.zip
u-boot-imx-44f67f784889e1a27958fa3e995abe41ab925697.tar.gz
u-boot-imx-44f67f784889e1a27958fa3e995abe41ab925697.tar.bz2
Blackfin: pata_bfin: fix printf warning
pata_bfin.c: In function 'bfin_ata_identify': pata_bfin.c:887:2: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'lbaint_t' Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/pata_bfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/pata_bfin.c b/drivers/block/pata_bfin.c
index 847c032..cce21fb 100644
--- a/drivers/block/pata_bfin.c
+++ b/drivers/block/pata_bfin.c
@@ -884,7 +884,7 @@ static void bfin_ata_identify(struct ata_port *ap, int dev)
sata_dev_desc[ap->port_no].removable = 0;
sata_dev_desc[ap->port_no].lba = (u32) n_sectors;
- debug("lba=0x%x\n", sata_dev_desc[ap->port_no].lba);
+ debug("lba=0x%lx\n", sata_dev_desc[ap->port_no].lba);
#ifdef CONFIG_LBA48
if (iop->command_set_2 & 0x0400)