diff options
| author | Elise Lennion <elise.lennion@gmail.com> | 2016-10-12 20:14:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 11:27:23 +0300 |
| commit | c4fc2ebcbf762a1fe827931d670452aa27abef00 (patch) | |
| tree | d9470f9d2742a852f3472daec0cf41e1fcfc482f /include/linux | |
| parent | 9d3318f48ce383cdd261719f4fa95c979bdd7ce4 (diff) | |
| download | linux-c4fc2ebcbf762a1fe827931d670452aa27abef00.tar.xz | |
staging: greybus: camera: Use kcalloc for array's memory allocation.
Fix checkpatch warning:
WARNING: Prefer kcalloc over kzalloc with multiply
kcalloc is designed to allocate memory for arrays, its use is
preferable than kzalloc in these cases.
Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
