[lkml]   [2018]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH] tpm: tpm_try_transmit() refactor error flow.
On Thu, 18 Oct 2018, Winkler, Tomas wrote:
>> -----Original Message-----
>> From: Jarkko Sakkinen []
>> Sent: Thursday, October 18, 2018 03:15
>> To: Winkler, Tomas <>
>> Cc: Jarkko Sakkinen <>; Jason Gunthorpe
>> <>; Nayna Jain <>; Usyskin,
>> Alexander <>; Struk, Tadeusz
>> <>;; linux-security-
>> Subject: Re: [PATCH] tpm: tpm_try_transmit() refactor error flow.
>> On Tue, 16 Oct 2018, Tomas Winkler wrote:
>>> First, rename out_no_locality to out_locality for bailing out on both
>>> tpm_cmd_ready() and tpm_request_locality() failure.
>> This is unnecessary change and technically it is not a rename: the commit
>> message text and the code change do not match. Rename is just a rename
>> (i.e. change a variable name foo to bar).
> I'm renaming the label because it doesn't match the code flow anymore,
> I can change the commit message, but you please review the code.
> Tomas

The flow change is unnecessary and does not really have anything to do
with the bug fix. Earlier version was better than this and would have
been fine when taking account the remark from Jason.


 \ /
  Last update: 2018-10-20 01:35    [W:0.090 / U:43.640 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site