diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-03 20:40:57 +0200 |
|---|---|---|
| committer | Chris Metcalf <cmetcalf@mellanox.com> | 2016-12-16 15:32:29 -0500 |
| commit | 8797fe75f164d4b2f183e776003612ece565c76e (patch) | |
| tree | bcec729149c8c7060c6f1b739979f05442dacfa4 /net/lapb/lapb_timer.c | |
| parent | tile/pci_gx: fix spelling mistake: "delievered" -> "delivered" (diff) | |
| download | linux-8797fe75f164d4b2f183e776003612ece565c76e.tar.gz linux-8797fe75f164d4b2f183e776003612ece565c76e.zip | |
tile-module: Use kmalloc_array() in module_alloc()
* 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".
* 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: Chris Metcalf <cmetcalf@mellanox.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
