Commit 97a0c313 authored by Markus Elfring's avatar Markus Elfring Committed by Ulf Hansson
Browse files

mmc: 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.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e988867f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment