Messages in this thread | | | Date | Thu, 21 Jun 2018 19:49:25 +0300 | From | Jarkko Sakkinen <> | Subject | Re: [PATCH v3] tpm: Return the actual size when receiving an unsupported command |
| |
On Wed, Jun 20, 2018 at 04:38:23PM +0200, Ricardo Schwarzmeier wrote: > The userpace expects to read the number of bytes stated in the header. > Returning the size of the buffer instead would be unexpected. > > Fixes: 095531f891e6 ("tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented") >
No empty line here.
> Signed-off-by: Ricardo Schwarzmeier <Ricardo.Schwarzmeier@infineon.com> > --- > Changes since v2: > * Made commit message more clear > * Avoided endianness problems > ---
The change log hould be here in order not to be included as part of the commit message.
/Jarkko
| |