summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2019-04-03 23:28:28 +0200
committerStefan Roese <[email protected]>2019-04-12 07:04:18 +0200
commitcfdf632c5ce2133ee93f99ce35ff81b69ae7f79e (patch)
treee14a598923d3d2a890e0c0b8dea761db73334b21 /drivers
parent699a5d3c9da26bca83e6cf1e4832ac2b65a68e9b (diff)
sata: sata_mv: use correct format specifier in debug()
This fixes a compile error on kirkwood. Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Chris Packham <[email protected]> Reviewed-by: Stefan Roese <[email protected]> Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/sata_mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index d13695d79e4..87ea95f75d1 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -727,7 +727,7 @@ static u32 ata_low_level_rw(struct udevice *dev, int port, lbaint_t blknr,
u8 *addr;
int max_blks;
- debug("%s: %ld %ld\n", __func__, blknr, blkcnt);
+ debug("%s: " LBAFU " " LBAFU "\n", __func__, blknr, blkcnt);
start = blknr;
blks = blkcnt;