WARNING: Argument '_1' is not used in function-like macro #25: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:448: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Argument '_2' is not used in function-like macro #25: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:448: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Argument '_3' is not used in function-like macro #25: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:448: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Macros with flow control statements should be avoided #25: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:448: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: macros should not use a trailing semicolon #25: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:448: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Argument '_1' is not used in function-like macro #29: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:452: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Argument '_2' is not used in function-like macro #29: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:452: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Argument '_3' is not used in function-like macro #29: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:452: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: Macros with flow control statements should be avoided #29: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:452: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; WARNING: macros should not use a trailing semicolon #29: FILE: drivers/net/ethernet/marvell/octeontx2/af/mbox.c:452: +#define M(_name, _id, _1, _2, _3) case _id: return # _name; total: 0 errors, 10 warnings, 0 checks, 14 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 2e7a02bceea1 ("octeontx2-af: Display names for CPT and UP messages") 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, 10 warnings, 0 checks, 14 lines checked