summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-06-03 19:09:07 +0200
committerTony Lindgren <tony@atomide.com>2017-06-08 03:02:31 -0700
commit6b72de4d331f058dbd8fa327f1e5d0a729583f56 (patch)
tree3bbf45c73ce68fe53b9a3d27c6524a47997e64c5 /arch/arm/mach-omap2/timer.c
parent1dfb5b59d6571104eff6629a0e73a6af347a3226 (diff)
ARM: OMAP2+: Use kcalloc() in sr_set_nvalues()
* 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 structure 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/timer.c')
0 files changed, 0 insertions, 0 deletions