Re: [PATCH v13 1/3] x86/tdx: Add TDX Guest attestation interface driver

From: Dave Hansen
Date: Fri Sep 09 2022 - 16:54:38 EST


On 9/9/22 13:07, Sathyanarayanan Kuppuswamy wrote:
>> What's wrong with:
>>
>> memchr_inv(&req.reserved, sizeof(req.reserved), 0)
> I did not consider the hard coding issue. It is a mistake. Your suggestion
> looks better. I will use it.

BTW... Please look at how memchr_inv() gets used in the kernel. Don't
copy my nonsense too exactly.