staging: lustre: lnet: prefer kcalloc over kzalloc with multiply
authorSumit Pundir <pundirsumit11@gmail.com>
Sat, 20 Jan 2018 07:56:09 +0000 (13:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 10:40:49 +0000 (11:40 +0100)
commit142ad642cde315764c4d8589fc0ed5bf67a712e9
treef0a08d0a81a7a9a4a7d2bcc4e7bdb6693c6c8fe9
parent99c7d99f1a7f6cec15004073f0a900c361010991
staging: lustre: lnet: prefer kcalloc over kzalloc with multiply

Use kcalloc for allocating an array instead of kzalloc with
multiply. kcalloc is the preferred API. Issue reported by
checkpatch.pl

Signed-off-by: Sumit Pundir <pundirsumit11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/config.c