diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-16 21:45:38 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-04-18 13:55:06 -0400 |
| commit | 5d6312ed57a909c86bb9472b2bbc012539392e7d (patch) | |
| tree | b151711df00b8923ad65379239c6fde66214e937 /tools/perf/scripts/python | |
| parent | net: mvneta: Use devm_kmalloc_array() in mvneta_init() (diff) | |
| download | linux-5d6312ed57a909c86bb9472b2bbc012539392e7d.tar.gz linux-5d6312ed57a909c86bb9472b2bbc012539392e7d.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
