summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-09 20:40:16 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-09 21:00:16 -0700
commite808bb6ed042020d3a15cb6e85ca646bc7c9eda8 (patch)
tree490269b1a7a83e87a6722d8ca45a0183556cb421 /lib
parent171a6c523f6486236e3c12aa767d7f354eb543aa (diff)
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 'lib')
0 files changed, 0 insertions, 0 deletions