[PATCH 6/6] staging: exfat: replace kmalloc with kmalloc_array

Greg KH gregkh at linuxfoundation.org
Wed Oct 30 09:42:22 UTC 2019


On Wed, Oct 30, 2019 at 02:03:28AM +0100, Roi Martin wrote:
> Replace expressions of the form:
> 	kmalloc(count * size, GFP_KERNEL);
> With:
> 	kmalloc_array(count, size, GFP_KERNEL);
> 
> Signed-off-by: Roi Martin <jroi.martin at gmail.com>
> ---
>  drivers/staging/exfat/exfat_core.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

This patch failed to apply.  Please fix it up and resend it as a new
version.

thanks,

greg k-h


More information about the devel mailing list