From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Packham Date: Thu, 4 Apr 2019 20:01:54 +1300 Subject: [U-Boot] [PATCH 1/4] sata: sata_mv: use correct format specifier in debug() In-Reply-To: <20190403212831.29886-2-michael@walle.cc> References: <20190403212831.29886-1-michael@walle.cc> <20190403212831.29886-2-michael@walle.cc> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Apr 4, 2019 at 10:28 AM Michael Walle wrote: > > This fixes a compile error on kirkwood. > > Signed-off-by: Michael Walle Reviewed-by: Chris Packham > --- > drivers/ata/sata_mv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c > index d13695d79e..87ea95f75d 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; > -- > 2.11.0 >