Re: Input-gameport: Use kmalloc_array() in joydump_connect()
From: SF Markus Elfring
Date: Sat Sep 24 2016 - 13:04:29 EST
>> * A multiplication for the size determination of a memory allocation
>> indicated that an array data structure should be processed.
>> Thus use the corresponding function "kmalloc_array".
>>
>
> -ENOPARSE.
Do you find an other wording better?
The script "checkpatch.pl" can point information out like the following.
WARNING: Prefer kmalloc_array over kmalloc with multiply
Regards,
Markus