diff options
author | 2017-04-16 21:45:38 +0200 | |
---|---|---|
committer | 2017-04-18 13:55:06 -0400 | |
commit | 5d6312ed57a909c86bb9472b2bbc012539392e7d (patch) | |
tree | b151711df00b8923ad65379239c6fde66214e937 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: mvneta: Use devm_kmalloc_array() in mvneta_init() (diff) | |
download | wireguard-linux-5d6312ed57a909c86bb9472b2bbc012539392e7d.tar.xz wireguard-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 '')
0 files changed, 0 insertions, 0 deletions