Re: [Part2 PATCH v5.2 12.2/31] crypto: ccp: Add Secure Encrypted Virtualization (SEV) command support

From: Brijesh Singh
Date: Thu Oct 12 2017 - 16:05:34 EST




On 10/12/17 1:21 PM, Borislav Petkov wrote:
.....

> Btw, that function returns 0 unconditionally. So you can make it return
> void and...

Will do
>> + if (ret)
>> + goto unlock;
> ... remove this check and initialize ret to 0 at the beginning.
>

Will do