summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-10-03 21:07:33 +0200
committerTony Lindgren <tony@atomide.com>2017-10-11 11:13:15 -0700
commit738c985d85afdc592c0dda205b2d71043bdc5bfb (patch)
treed46a9e812190f850e7569056a99b19f7a16b4725 /arch/arm/mach-omap2
parent16e7ea5380258c75e8c79c1737cc72ce2573d3b8 (diff)
ARM: OMAP: Use kcalloc() in omap_system_dma_probe()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kcalloc". 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> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
0 files changed, 0 insertions, 0 deletions