commit | 48ef5865d08fa0a36d786f2f8e12c6194d27538b | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Aug 19 08:50:23 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Aug 23 12:38:24 2016 -0400 |
tree | fcddba0d36ef7e6c8950a3e0f19052bb39a7fc29 | |
parent | 30b03b1528b60623986ee0b50ec0e5dab9094be8 [diff] |
IB/qib: Use memdup_user() rather than duplicating its implementation Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>