diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-06-03 20:09:07 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-06-08 13:02:31 +0300 |
commit | 6b72de4d331f058dbd8fa327f1e5d0a729583f56 (patch) | |
tree | 3bbf45c73ce68fe53b9a3d27c6524a47997e64c5 /Documentation/media/ca.h.rst.exceptions | |
parent | 1dfb5b59d6571104eff6629a0e73a6af347a3226 (diff) | |
download | linux-6b72de4d331f058dbd8fa327f1e5d0a729583f56.tar.xz |
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 'Documentation/media/ca.h.rst.exceptions')
0 files changed, 0 insertions, 0 deletions