commit | bdb421663d936eb9b29c743a668614276cf3b97d | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Dec 29 19:56:32 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 02 21:54:56 2018 -0500 |
tree | a3c4abc5749265da228c7e73016595c8a48549a9 | |
parent | 21602e1a5578925f610155a0bcf056d1ea9de964 [diff] |
net: stmmac: Pad ring number with zeroes in display_ring() Make the printing of the ring number consistent and properly aligned by padding the ring number with up to 3 zeroes, which covers the maximum ring size. This makes it a lot easier to see outliers in debug prints. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>