Re: [PATCH net-next v2 13/15] net: stmmac: add helper to set transmit tail pointer
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2026-03-12 12:34:13
Also in:
bpf, linux-arm-kernel
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2026-03-12 12:34:13
Also in:
bpf, linux-arm-kernel
On Thu, Mar 12, 2026 at 10:09:54AM +0000, Russell King (Oracle) wrote:
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c b/drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c index 1bbf02504dad..d5c003f3fbbc 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c@@ -427,7 +427,7 @@ static void dwmac4_display_ring(void *head, unsigned int size, bool rx, extp++; } } else if (desc_size == sizeof(struct dma_edesc)) { - struct dma_edesc *ep = (struct dma_edesc *)head; + struct dma_edesc *ep = dma_desc_to_edesc(head);
Too-many-outstanding-patches-itis strikes again (I have more than 100 outstnading patches at the moment.) dma_desc_to_edesc() is in a later patch that isn't part of this series. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!