diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-16 23:11:22 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-04-18 20:55:06 +0300 |
| commit | d441b688a1bce8e2e1b43d8090738c306dd09131 (patch) | |
| tree | 800f5313fce824ccb3b6483ba99b26c62399c290 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 5d6312ed57a909c86bb9472b2bbc012539392e7d (diff) | |
| download | linux-d441b688a1bce8e2e1b43d8090738c306dd09131.tar.xz | |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
