diff options
author | Ivan Hu <[email protected]> | 2016-10-18 15:33:16 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-10-18 17:11:19 +0200 |
commit | c208ed916e587048ba6b69840d08324100d7d325 (patch) | |
tree | c4292e1a753f797c7e6539753ece5320a6821e7c /tools/lib/api/debug.c | |
parent | 9c30a2199311df9a1f25d0586c96dfbb7e876cdf (diff) |
efi/efi_test: Use memdup_user() as a cleanup
Fix coccicheck warning which recommends to use memdup_user().
This patch fixes the following coccicheck warnings:
drivers/firmware/efi/test/efi_test.c:269:8-15: WARNING opportunity for memdup_user
Signed-off-by: Ivan Hu <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Ivan Khoronzhuk <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions