]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb12f07b4c0d7a4978eefe139690ce15bf4f1f940
treeb10b8834f09b51b359a006f6356e0bfacd522a49
parent97f7f492810453ea4b36048362ad5d5ad698133e
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