diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-09 20:40:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-09 21:00:16 -0700 |
commit | e808bb6ed042020d3a15cb6e85ca646bc7c9eda8 (patch) | |
tree | 490269b1a7a83e87a6722d8ca45a0183556cb421 /include | |
parent | 171a6c523f6486236e3c12aa767d7f354eb543aa (diff) | |
download | linux-e808bb6ed042020d3a15cb6e85ca646bc7c9eda8.tar.bz2 |
ATM-iphase: Use kmalloc_array() in tx_init()
* Multiplications for the size determination of memory allocations
indicated that array data structures should be processed.
Thus use the corresponding function "kmalloc_array".
This issue was detected by using the Coccinelle software.
* Replace the specification of data types by pointer dereferences
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 'include')
0 files changed, 0 insertions, 0 deletions