[PATCH] tpm: tpm_try_transmit() refactor error flow.
    Jarkko Sakkinen 
    jarkko.sakkinen at linux.intel.com
       
    Wed Oct 24 08:59:34 UTC 2018
    
    
  
On Tue, 23 Oct 2018, Winkler, Tomas wrote:
> To  the  out  label we jump after we are  done with locality and cmd
> read() before we jump to locality 'locality'.  We will need to add
> another variable to check If cmd_ready() was called or not in order to
> get rid of the extran label, it's not internally tracked so far.
I think this is fine.
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
I tested this by assigning rc error code instead of requesting locality
in addition of testig unchanged code.
/Jarkko
    
    
More information about the Linux-security-module-archive
mailing list