Skip to content
Commit f5495bb9 authored by Ji-Hun Kim's avatar Ji-Hun Kim Committed by Jarkko Sakkinen
Browse files

tpm: replace kmalloc() + memcpy() with kmemdup()



Use kmemdup rather than duplicating its implementation.

Signed-off-by: default avatarJi-Hun Kim <ji_hun.kim@samsung.com>
Reviewed-by: default avatarJames Morris <james.morris@microsoft.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkine@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkine@linux.intel.com>
parent 69798916
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