lkml.org 
[lkml]   [2021]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH Part1 v5 34/38] x86/sev: Add snp_msg_seqno() helper
From
Date


On 8/31/21 3:46 PM, Dov Murik wrote:

>> +
>> + return count + 1;
>
> As Borislav noted, you can remove the "if (!count) return 1" because in
> that case (count==0) the "return count+1" will return exactly 1.

Yep, I am working to simplify it based on the Boris feedback. I will
incorporate the feedback in v6. thanks

\
 
 \ /
  Last update: 2021-08-31 23:14    [W:0.733 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site