commit | 5d6312ed57a909c86bb9472b2bbc012539392e7d | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Apr 16 21:45:38 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 18 13:55:06 2017 -0400 |
tree | b151711df00b8923ad65379239c6fde66214e937 | |
parent | 2911063011fc7adcb43c93e9c3e9dc7798f459f5 [diff] |
net: mvneta: Improve two size determinations in mvneta_init() Replace the specification of two data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>