Re: [PATCH Part1 v5 34/38] x86/sev: Add snp_msg_seqno() helper

From: Brijesh Singh
Date: Tue Aug 31 2021 - 17:13:12 EST




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