From 3a5da11ffe8de98251828221e18c4fad46cbd669 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 17 Jul 2025 19:15:34 -0600 Subject: [PATCH] drivers/net/ftgmac100.c: Fix a debug print In the debug print in ftgmac100_send we want to say where the packet is in memory and what the length is, so use %p to print that. Signed-off-by: Tom Rini --- drivers/net/ftgmac100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index f5ea2e72d1b..33d1f7da3d7 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ftgmac100.c @@ -546,7 +546,7 @@ static int ftgmac100_send(struct udevice *dev, void *packet, int length) return -EPERM; } - debug("%s(%x, %x)\n", __func__, (int)packet, length); + debug("%s(%p, %x)\n", __func__, packet, length); length = (length < ETH_ZLEN) ? ETH_ZLEN : length; -- 2.47.2