]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cxl/pci: Remove outdated FIXME comment and BUILD_BUG_ON
authorSamasth Norway Ananda <samasth.norway.ananda@oracle.com>
Mon, 5 Jan 2026 20:38:33 +0000 (12:38 -0800)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 23:58:13 +0000 (16:58 -0700)
commit4dd05f02f1d618da610e7d3bd479c47a96b4fc3f
tree9866ce28e9d40ad16cc993fcdcb107120a5be173
parent7362facf6ec14f70fe28413cb484639d783b89f0
cxl/pci: Remove outdated FIXME comment and BUILD_BUG_ON

Remove the outdated FIXME comment about switching to struct_group() and
the associated BUILD_BUG_ON check. This work was already completed in
commit 301e68dd9b9b ("cxl/core: Replace unions with struct_group()")
which converted struct cxl_regs to use struct_group_tagged().

The BUILD_BUG_ON was checking that anonymous union layout was preserved,
but since struct_group() now handles this correctly, the compile-time
check is no longer necessary.

Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260105203833.1604585-1-samasth.norway.ananda@oracle.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/pci.c