From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Date: Mon, 14 May 2018 10:58:12 +0000 Subject: Re: [PATCH 1/2] tpm: replace kmalloc() + memcpy() with kmemdup() Message-Id: <20180514105812.GG8228@linux.intel.com> List-Id: References: <1525824757-21835-1-git-send-email-ji_hun.kim@samsung.com> In-Reply-To: <1525824757-21835-1-git-send-email-ji_hun.kim@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ji-Hun Kim Cc: peterhuewe@gmx.de, tweek@google.com, jgg@ziepe.ca, arnd@arndb.de, gregkh@linuxfoundation.org, javierm@redhat.com, sonnyrao@chromium.org, enric.balletbo@collabora.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, May 09, 2018 at 09:12:36AM +0900, Ji-Hun Kim wrote: > Use kmemdup rather than duplicating its implementation. > > Signed-off-by: Ji-Hun Kim Reviewed-by: Jarkko Sakkinen /Jarkko