On arm64 the compiler prints the following warning, when the macb driver is enabled: warning: cast from pointer to integer of different size Add the same explicit cast as implemented for all other dma addresses in the macb driver. Fixes: befd110b5922 ("net: macb: init multiple dummy TX queues") Signed-off-by: Michael Tretter <m.tretter@xxxxxxxxxxxxxx> --- drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index fa530cfe8e4c..188dbf2d8c15 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -365,7 +365,7 @@ static int gmac_init_dummy_tx_queues(struct macb_device *macb) MACB_BIT(TX_LAST) | MACB_BIT(TX_USED); for (i = 1; i < num_queues; i++) - gem_writel_queue_TBQP(macb, &macb->gem_q1_descs[0], i - 1); + gem_writel_queue_TBQP(macb, (ulong)macb->gem_q1_descs, i - 1); return 0; } -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox