Re: [PATCH -next] staging/speakup: Switch to kmemdup_nul()

From: Yang Yingliang
Date: Mon Apr 05 2021 - 21:53:50 EST


Hi,

On 2021/4/2 21:13, Greg KH wrote:
On Fri, Apr 02, 2021 at 05:21:11PM +0800, Yang Yingliang wrote:
Use kmemdup_nul() helper instead of open-coding to
simplify the code.

Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
---
drivers/accessibility/speakup/i18n.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Your subject line is very odd, why does it have "staging"?
I check git log of this file and use prefix of the history title, obviously I was wrong,
I will send a v2 later.

Thanks,
Yang

Your robot is not doing well these days...

greg k-h
.