commit | 94b397cd253396c601d871f250cd93362618bdf6 | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Tue Feb 16 00:55:25 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 20 14:54:05 2016 -0800 |
tree | ff22e413f6dc1f313308973c315656a71aa3ed52 | |
parent | 1e613801ce8771b3e82e68bab0247ef3ce5d8a3f [diff] |
staging: rdma: hfi1: Replace kmalloc and memcpy with kmemdup Replace kmalloc and memcpy with kmemdup. Found using Coccinelle. The semantic patch used to make this change can be found here: scripts/coccinelle/api/memdup.cocci Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>