Skip to content

Commit a79e986

Browse files
tswaehnkartben
authored andcommitted
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 63299bb commit a79e986

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)