From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Subject: Re: Re: [PATCH] tpm, tpm_infineon: remove useless snprintf() calls Date: Thu, 25 May 2017 09:44:16 -0700 Message-ID: <20170525164416.5dn7l3eu4tkudypn@intel.com> References: <20170524212916.9106-1-jarkko.sakkinen@linux.intel.com> <20170524215259.xkaqrnhcb44jpyd5@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: owner-linux-security-module@vger.kernel.org To: Peter Huewe Cc: tpmdd-devel@lists.sourceforge.net, jmorris@namei.org, linux-security-module@vger.kernel.org, Marcel Selhorst , Jason Gunthorpe , open list List-Id: tpmdd-devel@lists.sourceforge.net On Thu, May 25, 2017 at 07:29:05AM +0200, Peter Huewe wrote: > > The memory copy from rodata to stack is useless. > > > > Signed-off-by: Jarkko Sakkinen > > After review, yes that should work. > Reviewed-by: Peter Huewe Yes, the string gets stored to rodata section where it is copied to stack :-) Thanx! /Jarkko