commit | 7ad61e6b4a79c5057eeb2d6062b0021e33ddc9f6 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Thu Aug 18 22:35:14 2016 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Aug 19 10:58:55 2016 +0200 |
tree | a53f741e99eefbec63bf1b95b49625bea16df286 | |
parent | a6e3918bcdb1253083f962d747ec699bdb4bacd9 [diff] |
virtio-gpu: 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> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/401e68fc-5515-7a7a-be2e-503dee676b34@users.sourceforge.net