sata: sata_mv: use correct format specifier in debug()
authorMichael Walle <[email protected]>
Wed, 3 Apr 2019 21:28:28 +0000 (23:28 +0200)
committerStefan Roese <[email protected]>
Fri, 12 Apr 2019 05:04:18 +0000 (07:04 +0200)
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]>
drivers/ata/sata_mv.c

index d13695d79e4caa7fbbb7050943b61d8cf1d94ef8..87ea95f75d1e17ac598eaf7f131e48fb9362fcab 100644 (file)
@@ -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;