Re: [PATCH] sparc: use memdup_user_nul in sun4m LED driver

From: David Miller
Date: Tue May 09 2017 - 15:16:49 EST


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

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

Applied.