diff options
author | 2016-09-10 09:55:53 +0200 | |
---|---|---|
committer | 2016-09-10 21:46:06 -0700 | |
commit | 32230ac1ccbd66f36bd6955eddc45fc06861c1b5 (patch) | |
tree | 6213a5c4813317eefe271c95cd0f25b7dbddb842 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ATM-nicstar: Refactor a dev_alloc_skb() call in dequeue_rx() (diff) | |
download | linux-dev-32230ac1ccbd66f36bd6955eddc45fc06861c1b5.tar.xz linux-dev-32230ac1ccbd66f36bd6955eddc45fc06861c1b5.zip |
ATM-ZeitNet: Use kmalloc_array() in start_tx()
* 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.
* Replace the specification of a data type by a pointer dereference
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