summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-17 19:15:34 -0600
committerJerome Forissier <[email protected]>2025-08-01 09:30:47 +0200
commit3a5da11ffe8de98251828221e18c4fad46cbd669 (patch)
tree4ba114cce3c2b66d94e8862579b740ce8227c272
parent51eb2bff870bee3fe34c7088331248e745d42b3c (diff)
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 <[email protected]>
-rw-r--r--drivers/net/ftgmac100.c2
1 files changed, 1 insertions, 1 deletions
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;