* [U-Boot] [PATCH] drivers/spi/rk_spi.c: Fix debug format warning
@ 2016-01-17 2:42 Tom Rini
2016-01-19 18:08 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2016-01-17 2:42 UTC (permalink / raw)
To: u-boot
We need to use %lx not %x to describe a fdt_addr_t
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
drivers/spi/rk_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
index 5e0c6ad..242a83b 100644
--- a/drivers/spi/rk_spi.c
+++ b/drivers/spi/rk_spi.c
@@ -135,7 +135,7 @@ static int rockchip_spi_ofdata_to_platdata(struct udevice *bus)
50000000);
plat->deactivate_delay_us = fdtdec_get_int(blob, node,
"spi-deactivate-delay", 0);
- debug("%s: base=%x, periph_id=%d, max-frequency=%d, deactivate_delay=%d\n",
+ debug("%s: base=%lx, periph_id=%d, max-frequency=%d, deactivate_delay=%d\n",
__func__, plat->base, plat->periph_id, plat->frequency,
plat->deactivate_delay_us);
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] drivers/spi/rk_spi.c: Fix debug format warning
2016-01-17 2:42 [U-Boot] [PATCH] drivers/spi/rk_spi.c: Fix debug format warning Tom Rini
@ 2016-01-19 18:08 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2016-01-19 18:08 UTC (permalink / raw)
To: u-boot
On Sun, Jan 17, 2016 at 02:42:41AM +0000, Tom Rini wrote:
> We need to use %lx not %x to describe a fdt_addr_t
>
> Cc: Simon Glass <sjg@chromium.org>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Reworded the subject and applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160119/7da92bf8/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-19 18:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-17 2:42 [U-Boot] [PATCH] drivers/spi/rk_spi.c: Fix debug format warning Tom Rini
2016-01-19 18:08 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.