commit | fb1dc957054c6a9823b20b2672f5193e47bc5f6d | [log] [tgz] |
---|---|---|
author | Cristina Moraru <cristina.moraru09@gmail.com> | Wed Oct 21 20:00:51 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 24 19:00:15 2015 -0700 |
tree | dcbfd82afa781876e92136f13be20dc1dd03c7d2 | |
parent | df5ddcc97e694bfa5dafa838c26e5b974c706929 [diff] |
staging: rdma: Replace kmalloc with kmalloc_array Replace kmalloc with specialized function kmalloc_array when the size is a multiplication of: number_of_elements * size_of_element Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>