commit | 6f0b826da4a33e83501d6c1dc977afa0f5f7166f | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sat Aug 20 07:50:09 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 22 17:05:38 2016 -0700 |
tree | af27337c277eac3b89b403b4d9548946fef37a24 | |
parent | b9a24bb76bf611a5268ceffe04219e6ad264559b [diff] |
mlx5/core: 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. * Return directly if this copy operation failed. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: David S. Miller <davem@davemloft.net>