commit | 66c25f6e31766a9ec19c2bdc7f5f69f9c59bafd7 | [log] [tgz] |
---|---|---|
author | Niklas Cassel <niklas.cassel@axis.com> | Mon May 15 10:56:06 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 15 10:02:19 2017 -0400 |
tree | d89deb6f2febf271a07513a19e5533d0100cdde6 | |
parent | 1c4d5f51a812a82de97beee24f48ed05c65ebda5 [diff] |
net: stmmac: use correct pointer when printing normal descriptor ring 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@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>