staging: exfat: replace kmalloc with kmalloc_array
authorRoi Martin <jroi.martin@gmail.com>
Thu, 31 Oct 2019 12:31:39 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2019 09:50:37 +0000 (10:50 +0100)
commit129376c6d68617bc00e46bbfc4c21745db17b73d
tree4105b9f369d1bd3cecbf7a6392252cb19c9c3080
parent3ae82f449cea00de5cd894feb8e9154b2da99b4e
staging: exfat: replace kmalloc with kmalloc_array

Replace expressions of the form:
kmalloc(count * size, GFP_KERNEL);
With:
kmalloc_array(count, size, GFP_KERNEL);

Signed-off-by: Roi Martin <jroi.martin@gmail.com>
Link: https://lore.kernel.org/r/20191031123139.32361-1-jroi.martin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_core.c