On Fri, Apr 28, 2017 at 6:45 PM, Geliang Tang wrote:
> Use memdup_user() helper instead of open-coding to simplify the code.
>
> Signed-off-by: Geliang Tang
Thanks! Applied for -next.
-Kees
> ---
> arch/powerpc/kernel/nvram_64.c | 14 +-
> 1 file changed, 5 insertions(+), 9 deleti
Use memdup_user() helper instead of open-coding to simplify the code.
Signed-off-by: Geliang Tang
---
arch/powerpc/kernel/nvram_64.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c
index eae61b0..4