]> git.baikalelectronics.ru Git - kernel.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>
Sat, 25 Sep 2021 15:20:47 +0000 (08:20 -0700)
commit7974ccd554adfaef3a97e893c3e411f04c2e8642
tree85eb7f39b6d1407bf9868b7a7d1d444fa6c3c55c
parent968d917838e59d1fd73c920c256d40f1f80c9eac
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