Re: Re: [PATCH] tpm, tpm_infineon: remove useless snprintf() calls

From: Jarkko Sakkinen
Date: Thu May 25 2017 - 12:44:24 EST


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 <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>
> After review, yes that should work.
> Reviewed-by: Peter Huewe <peterhuewe@xxxxxx>

Yes, the string gets stored to rodata section where it is copied to
stack :-)

Thanx!

/Jarkko