Skip to content

Commit ab02fdf

Browse files
committed
drivers: ethernet: sy1xx: fix warning
casting the address to uint32_t removes the compiler warning. Signed-off-by: Sven Ginka <s.ginka@sensry.de>
1 parent c30959b commit ab02fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ethernet/eth_sensry_sy1xx_mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static void sy1xx_mac_iface_init(struct net_if *iface)
312312
struct sy1xx_mac_dev_config *cfg = (struct sy1xx_mac_dev_config *)dev->config;
313313
struct sy1xx_mac_dev_data *const data = dev->data;
314314

315-
LOG_INF("Interface init %s (%.8x)", net_if_get_device(iface)->name, iface);
315+
LOG_INF("Interface init %s (%p)", net_if_get_device(iface)->name, iface);
316316

317317
data->iface = iface;
318318

0 commit comments

Comments
 (0)