Re: [PATCH net-next] net: stmmac: use correct pointer when printing normal descriptor ring
From: David Miller
Date: Mon May 15 2017 - 10:02:47 EST
From: Niklas Cassel <niklas.cassel@xxxxxxxx>
Date: Mon, 15 May 2017 10:56:06 +0200
> There are two pointers in sysfs_display_ring,
> one that increments if using normal dma descriptors,
> another if using extended dma descriptors.
>
> When printing the normal dma descriptors, the wrong pointer is used,
> thus the printed descriptor addresses are incorrect.
>
> Signed-off-by: Niklas Cassel <niklas.cassel@xxxxxxxx>
Applied, thanks.