Re: [PATCH] yam: use memdup_user

From: David Miller
Date: Mon May 08 2017 - 15:02:38 EST


From: Geliang Tang <geliangtang@xxxxxxxxx>
Date: Sat, 6 May 2017 23:42:22 +0800

> Use memdup_user() helper instead of open-coding to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>

Applied.