diff options
author | Geliang Tang <geliangtang@gmail.com> | 2017-06-02 13:52:05 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-05 17:50:42 +0200 |
commit | 5f72cad65cfaac5e40d0de8b7f48ee647af69cd5 (patch) | |
tree | 372d88d129d9bff7eba39bb5dfa5746c78bd7cda /arch/x86/platform/efi/efi_32.c | |
parent | 2959c95d510cc45b246ba727eb8fdf8b601c6eec (diff) |
efi/efi_test: Use memdup_user() helper
Use memdup_user() helper instead of open-coding to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Ivan Hu <ivan.hu@canonical.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170602135207.21708-12-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform/efi/efi_32.c')
0 files changed, 0 insertions, 0 deletions