diff options
author | Wen Yang <wen.yang99@zte.com.cn> | 2018-12-10 19:36:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 10:26:31 +0100 |
commit | 8995fa1e1c9bcb76d407b860770e640b60ed8c76 (patch) | |
tree | b72a5a69c9b9a0fbacd858b2cd795d0e89cb720d /drivers/virt | |
parent | f88fd666051b08eb3f3118e2dd8508bf0247af4c (diff) | |
download | linux-8995fa1e1c9bcb76d407b860770e640b60ed8c76.tar.bz2 |
VMCI: 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: Wen Yang <wen.yang99@zte.com.cn>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions