]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cxl/core: Replace unions with struct_group()
authorKees Cook <keescook@chromium.org>
Sat, 31 Jul 2021 03:25:50 +0000 (20:25 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 25 Aug 2021 15:38:39 +0000 (08:38 -0700)
commitdd49bdf5596a69b04389efd20b94a596ceab3f98
treebcf9534c924e661f9a5aa9334b4e2ee6546ba4d4
parente68b16278f2ecd9fa31e931c888c800138ae207c
cxl/core: Replace unions with struct_group()

Use the newly introduced struct_group_typed() macro to clean up the
declaration of struct cxl_regs.

Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Ben Widawsky <ben.widawsky@intel.com>
Cc: linux-cxl@vger.kernel.org
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/lkml/1d9a2e6df2a9a35b2cdd50a9a68cac5991e7e5f0.camel@intel.com
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
drivers/cxl/cxl.h