Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63342e75 authored by Georgiana Chelu's avatar Georgiana Chelu Committed by Greg Kroah-Hartman
Browse files

Staging: media: atomisp: Use kmalloc_array instead of kmalloc



Prefer kmalloc_array over kmalloc with multiply
because kmalloc_array performs additional checks
before memory allocation.

Fix the following issue reported by checkpatch.pl:
* WARNING: Prefer kmalloc_array over kmalloc with multiply

Signed-off-by: default avatarGeorgiana Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d962df5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment