diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2017-02-08 05:28:31 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-02-19 09:18:45 -0500 |
commit | 1bb0d7b781b1ca647f1ae69665c0ad1de09a1174 (patch) | |
tree | 0f809d1062efea20541567f983f2805498c369c1 /drivers/infiniband/hw/usnic | |
parent | 832666c163f04306fa6823b8974bccf7bb5e5ad3 (diff) |
IB/hfi1: Code reuse with memdup_copy
Update several usages of kmalloc/user_copy to memdup_copy and
memdup_copy_nul.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/usnic')
0 files changed, 0 insertions, 0 deletions