lkml.org 
[lkml]   [2018]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tpm-dev: Require response to be read only if there actually is a response
On Thu, Dec 06, 2018 at 06:58:01PM +0100, Alexander Steffen wrote:
> If the tpm_transmit call in tpm_common_write fails for any reason, there is
> no response that could be read. Therefore, do not require the application
> to issue a read call before sending further commands. This restores the
> behavior from before support for partial reads was introduced.
>
> Signed-off-by: Alexander Steffen <Alexander.Steffen@infineon.com>
> ---
> Feel free to merge this into Tadeusz' original commit.

Thank you, good catch.

My PR is a bit late becuse just came from Oregon back to Finland so
I'll follow your advice and squash this. Thanks again.

/Jarkko

\
 
 \ /
  Last update: 2018-12-12 18:54    [W:0.295 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site