diff options
author | Markus Elfring <[email protected]> | 2016-08-24 20:10:09 +0200 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2016-09-08 13:40:55 +0200 |
commit | 0624a8eb82efd58e457093e8fd4514abd3b37cc0 (patch) | |
tree | 247cc627c8a6b14cd29b5adbcd60f11f962841a0 /lib/test-string_helpers.c | |
parent | a1708a2eaded836b7fe64e89a137336c0e6244ea (diff) |
KVM: s390: Use memdup_user() rather than duplicating code
* 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.
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Markus Elfring <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions