lkml.org 
[lkml]   [2018]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] s390/zcrypt: Use kmemdup to replace kmalloc + memcpy
On Sat, 8 Sep 2018 16:50:21 +0800
zhong jiang <zhongjiang@huawei.com> wrote:

> kmemdup has implemented the function that kmalloc() + memcpy() will
> do. and we prefer to use the kmemdup rather than the open coded implementation.
>
> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
> ---
> drivers/s390/crypto/zcrypt_msgtype6.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)

Applied to linux-390:features. Thanks.

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.

\
 
 \ /
  Last update: 2018-09-10 08:35    [W:0.037 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site