Re: [PATCH v19 001/130] x86/virt/tdx: Rename _offset to _member for TD_SYSINFO_MAP() macro
From: Huang, Kai
Date: Fri Mar 08 2024 - 05:39:03 EST
On Fri, 2024-03-08 at 15:25 +0800, Binbin Wu wrote:
>
> On 2/26/2024 4:25 PM, isaku.yamahata@xxxxxxxxx wrote:
> > From: Kai Huang <kai.huang@xxxxxxxxx>
> >
> > TD_SYSINFO_MAP() macro actually takes the member of the 'struct
> > tdx_tdmr_sysinfo' as the second argument and uses the offsetof() to
> > calculate the offset for that member.
> >
> > Rename the macro argument _offset to _member to reflect this.
> >
> > Signed-off-by: Kai Huang <kai.huang@xxxxxxxxx>
> > Reviewed-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> > Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
>
> Reviewed-by: Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx>
>
>
Thanks for review.
I've sent out the first 5 metadata read patches as a standalone patchset
separately:
https://lore.kernel.org/kvm/cover.1709288433.git.kai.huang@xxxxxxxxx/
I'll add your Reviewed-by in next version.
(for others please comment there instead, thanks!)