summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>2017-09-26 09:01:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-29 15:34:37 +0200
commit63342e75e661c1b71a0f33a4329726bcf383b342 (patch)
tree00d66886796b97039cdc1871a37765a19a7d9d66 /drivers/fpga/fpga-mgr.c
parent4d962df5a7771c90da738de0d24c3828fe23e060 (diff)
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: Georgiana Chelu <georgiana.chelu93@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions