OSDN Git Service

staging: lustre: replace kmalloc with kmalloc_array
authorDenis Petrovic <denis.petrovic@edu.ece.fr>
Sun, 25 Jun 2017 12:52:48 +0000 (14:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:53 +0000 (16:38 +0200)
commit9b326dfce12afb429915c63f5a3df4afa4bea957
treeb10b8834f09b51b359a006f6356e0bfacd522a49
parent878c33a78811f90795f17333bc3a7c819a1589a7
staging: lustre: replace kmalloc with kmalloc_array

This patch fixes the following checkpatch.pl warning:

WARNING: Prefer kmalloc_array over kmalloc with multiply

Signed-off-by: Denis Petrovic <denis.petrovic@edu.ece.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/linux/linux-tracefile.c