]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rdma: use kmalloc_array instead of kmalloc
authorGeliang Tang <geliangtang@163.com>
Sun, 8 Nov 2015 14:17:52 +0000 (22:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Nov 2015 00:55:37 +0000 (16:55 -0800)
commited9ffea9253069f6b613e018fdab954511b5fee8
tree79ffb17fa090c5b670ba8785f53ad7a0712805d6
parenteb0cba0c15e2cda845ca29a4ae3200b5c7b7b289
staging: rdma: use kmalloc_array instead of kmalloc

Use kmalloc_array instead of kmalloc to allocate memory for an array.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/amso1100/c2.c
drivers/staging/rdma/ipath/ipath_file_ops.c