summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-04-16 23:11:22 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-18 20:55:06 +0300
commitd441b688a1bce8e2e1b43d8090738c306dd09131 (patch)
tree800f5313fce824ccb3b6483ba99b26c62399c290 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent5d6312ed57a909c86bb9472b2bbc012539392e7d (diff)
downloadlinux-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