Skip to content
Commit 827fd299 authored by zhong jiang's avatar zhong jiang Committed by Martin Schwidefsky
Browse files

s390/zcrypt: Use kmemdup to replace kmalloc + memcpy



kmemdup has implemented the function that kmalloc() + memcpy() will
do. We prefer to use the kmemdup function rather than an open coded
implementation.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 6779df40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment