[PATCH v2 06/63] cxl/core: Replace unions with struct_group()

Dan Williams dan.j.williams at intel.com
Wed Aug 18 22:36:23 UTC 2021


On Tue, Aug 17, 2021 at 11:06 PM Kees Cook <keescook at chromium.org> wrote:
>
> Use the newly introduced struct_group_typed() macro to clean up the
> declaration of struct cxl_regs.
>
> Cc: Alison Schofield <alison.schofield at intel.com>
> Cc: Vishal Verma <vishal.l.verma at intel.com>
> Cc: Ira Weiny <ira.weiny at intel.com>
> Cc: Ben Widawsky <ben.widawsky at intel.com>
> Cc: linux-cxl at vger.kernel.org
> Suggested-by: Dan Williams <dan.j.williams at intel.com>

Looks good and tests ok here:

Reviewed-by: Dan Williams <dan.j.williams at intel.com>


More information about the dri-devel mailing list