WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #453: new file mode 100644 CHECK: Alignment should match open parenthesis #497: FILE: include/cxl/cxl.h:40: + struct_group_tagged(cxl_component_regs, component, + void __iomem *hdm_decoder; CHECK: Alignment should match open parenthesis #507: FILE: include/cxl/cxl.h:50: + struct_group_tagged(cxl_device_regs, device_regs, + void __iomem *status, *mbox, *memdev; CHECK: Alignment should match open parenthesis #511: FILE: include/cxl/cxl.h:54: + struct_group_tagged(cxl_pmu_regs, pmu_regs, + void __iomem *pmu; CHECK: Alignment should match open parenthesis #519: FILE: include/cxl/cxl.h:62: + struct_group_tagged(cxl_rch_regs, rch_regs, + void __iomem *dport_aer; CHECK: Alignment should match open parenthesis #527: FILE: include/cxl/cxl.h:70: + struct_group_tagged(cxl_rcd_regs, rcd_regs, + void __iomem *rcd_pcie_cap; WARNING: line length of 89 exceeds 80 columns #659: FILE: include/cxl/cxl.h:202: +#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 #659: FILE: include/cxl/cxl.h:202: +#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 #659: FILE: include/cxl/cxl.h:202: +#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 #660: FILE: include/cxl/cxl.h:203: + ({ \ WARNING: line length of 89 exceeds 80 columns #661: FILE: include/cxl/cxl.h:204: + static_assert(__same_type(struct cxl_dev_state, \ WARNING: line length of 89 exceeds 80 columns #662: FILE: include/cxl/cxl.h:205: + ((drv_struct *)NULL)->member)); \ WARNING: line length of 89 exceeds 80 columns #663: FILE: include/cxl/cxl.h:206: + static_assert(offsetof(drv_struct, member) == 0); \ WARNING: line length of 89 exceeds 80 columns #664: FILE: include/cxl/cxl.h:207: + (drv_struct *)_cxl_dev_state_create(parent, type, serial, dvsec, \ WARNING: line length of 89 exceeds 80 columns #665: FILE: include/cxl/cxl.h:208: + sizeof(drv_struct), mbox); \ total: 0 errors, 8 warnings, 7 checks, 617 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 0d98dee892dd ("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, 617 lines checked