Re: [PATCH 1/2] tpm: replace kmalloc() + memcpy() with kmemdup()

From: James Morris
Date: Wed May 09 2018 - 15:17:08 EST


On Wed, 9 May 2018, Ji-Hun Kim wrote:

> Use kmemdup rather than duplicating its implementation.
>
> Signed-off-by: Ji-Hun Kim <ji_hun.kim@xxxxxxxxxxx>


Reviewed-by: James Morris <james.morris@xxxxxxxxxxxxx>


--
James Morris
<jmorris@xxxxxxxxx>