[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fc3b7c3c-74b6-4821-4b5a-f6d7b51868a7@users.sourceforge.net>
Date: Sat, 24 Sep 2016 19:04:18 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: Input-gameport: Use kmalloc_array() in joydump_connect()
>> * 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
Powered by blists - more mailing lists