Re: [PATCH v8 5/5] x86/tdx: Add Quote generation support

From: Sathyanarayanan Kuppuswamy
Date: Tue Jun 14 2022 - 08:59:27 EST




On 6/14/22 5:30 AM, Wander Lairson Costa wrote:
> On Wed, Jun 08, 2022 at 07:52:20PM -0700, Kuppuswamy Sathyanarayanan wrote:
>
> [snip]
>
>> +}
>> +
>> +/* Remove the shared mapping and free the memory */
>> +static void deinit_quote_buf(struct quote_buf *buf)
>> +{
>> + if (!buf)
>> + return;
>
> nit: the null check isn't necessary anymore, is it?

Yes. I will remove it.

>
> [snip]
>

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer