WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #453: new file mode 100644 CHECK: Alignment should match open parenthesis #496: FILE: include/cxl/cxl.h:39: + struct_group_tagged(cxl_component_regs, component, + void __iomem *hdm_decoder; CHECK: Alignment should match open parenthesis #506: FILE: include/cxl/cxl.h:49: + struct_group_tagged(cxl_device_regs, device_regs, + void __iomem *status, *mbox, *memdev; CHECK: Alignment should match open parenthesis #510: FILE: include/cxl/cxl.h:53: + struct_group_tagged(cxl_pmu_regs, pmu_regs, + void __iomem *pmu; CHECK: Alignment should match open parenthesis #518: FILE: include/cxl/cxl.h:61: + struct_group_tagged(cxl_rch_regs, rch_regs, + void __iomem *dport_aer; CHECK: Alignment should match open parenthesis #526: FILE: include/cxl/cxl.h:69: + struct_group_tagged(cxl_rcd_regs, rcd_regs, + void __iomem *rcd_pcie_cap; WARNING: line length of 89 exceeds 80 columns #675: FILE: include/cxl/cxl.h:218: +#define cxl_dev_state_create(parent, type, serial, dvsec, drv_struct, member, mbox) \ CHECK: Macro argument 'drv_struct' may be better as '(drv_struct)' to avoid precedence issues #675: FILE: include/cxl/cxl.h:218: +#define cxl_dev_state_create(parent, type, serial, dvsec, drv_struct, member, mbox) \ + ({ \ + static_assert(__same_type(struct cxl_dev_state, \ + ((drv_struct *)NULL)->member)); \ + static_assert(offsetof(drv_struct, member) == 0); \ + (drv_struct *)_cxl_dev_state_create(parent, type, serial, dvsec, \ + sizeof(drv_struct), mbox); \ + }) CHECK: Macro argument 'member' may be better as '(member)' to avoid precedence issues #675: FILE: include/cxl/cxl.h:218: +#define cxl_dev_state_create(parent, type, serial, dvsec, drv_struct, member, mbox) \ + ({ \ + static_assert(__same_type(struct cxl_dev_state, \ + ((drv_struct *)NULL)->member)); \ + static_assert(offsetof(drv_struct, member) == 0); \ + (drv_struct *)_cxl_dev_state_create(parent, type, serial, dvsec, \ + sizeof(drv_struct), mbox); \ + }) WARNING: line length of 89 exceeds 80 columns #676: FILE: include/cxl/cxl.h:219: + ({ \ WARNING: line length of 89 exceeds 80 columns #677: FILE: include/cxl/cxl.h:220: + static_assert(__same_type(struct cxl_dev_state, \ WARNING: line length of 89 exceeds 80 columns #678: FILE: include/cxl/cxl.h:221: + ((drv_struct *)NULL)->member)); \ WARNING: line length of 89 exceeds 80 columns #679: FILE: include/cxl/cxl.h:222: + static_assert(offsetof(drv_struct, member) == 0); \ WARNING: line length of 89 exceeds 80 columns #680: FILE: include/cxl/cxl.h:223: + (drv_struct *)_cxl_dev_state_create(parent, type, serial, dvsec, \ WARNING: line length of 89 exceeds 80 columns #681: FILE: include/cxl/cxl.h:224: + sizeof(drv_struct), mbox); \ total: 0 errors, 8 warnings, 7 checks, 634 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 7a0429717da3 ("cxl: Add type2 device basic support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 8 warnings, 7 checks, 634 lines checked