mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-28 07:03:31 +08:00
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>
This commit is contained in:
parent
3f54108be9
commit
44f67f7848
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user