summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-16 17:56:07 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-26 23:06:16 +0530
commitcf80ecf7a277e7908264f822c721f93403cf518f (patch)
tree3ebfc056b4a29efbb9dac70035fb715b52ae0adb /drivers/s390
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ste_dma40: Use kmalloc_array() in d40_lcla_allocate()
* 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> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions