diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-16 22:11:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 13:55:06 -0400 |
commit | d441b688a1bce8e2e1b43d8090738c306dd09131 (patch) | |
tree | 800f5313fce824ccb3b6483ba99b26c62399c290 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5d6312ed57a909c86bb9472b2bbc012539392e7d (diff) |
net: mvneta: Use kmalloc_array() in mvneta_txq_init()
A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "kmalloc_array".
This issue was detected by using the Coccinelle software.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions