Re: [PATCH 1/2] efi/efi_test: use memdup_user

From: ivanhu
Date: Mon May 08 2017 - 04:18:44 EST




On 05/06/2017 04:53 AM, Matt Fleming wrote:
On Sat, 29 Apr, at 09:42:52AM, Geliang Tang wrote:
Use memdup_user() helper instead of open-coding to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>
---
drivers/firmware/efi/test/efi_test.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)

This one looks fine. Ivan, do you want to ACK it?


Looks fine to me too, ACK. Thanks!

Ivan