summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-09 18:40:16 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-09-10 04:00:16 (GMT)
commite808bb6ed042020d3a15cb6e85ca646bc7c9eda8 (patch)
tree490269b1a7a83e87a6722d8ca45a0183556cb421 /include
parent171a6c523f6486236e3c12aa767d7f354eb543aa (diff)
downloadlinux-e808bb6ed042020d3a15cb6e85ca646bc7c9eda8.tar.xz
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