WARNING: Argument '_name' is not used in function-like macro #90: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:13: +#define M(_name, _id, _fn_name, _req_type, _rsp_type) \ +static struct _req_type __maybe_unused \ +*otx2_mbox_alloc_msg_ ## _fn_name(struct rvu *rvu, int devid) \ +{ \ + struct _req_type *req; \ + \ + req = (struct _req_type *)otx2_mbox_alloc_msg_rsp( \ + &rvu->afpf_wq_info.mbox_up, devid, sizeof(struct _req_type), \ + sizeof(struct _rsp_type)); \ + if (!req) \ + return NULL; \ + req->hdr.sig = OTX2_MBOX_REQ_SIG; \ + req->hdr.id = _id; \ + return req; \ +} WARNING: line length of 81 exceeds 80 columns #204: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:127: + otx2_mbox_alloc_msg_rsp(&rvu->afvf_wq_info.mbox_up, vidx, WARNING: line length of 86 exceeds 80 columns #205: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:128: + sizeof(*req), sizeof(struct msg_rsp)); WARNING: line length of 87 exceeds 80 columns #245: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:168: + rvu_sw_l2_fdb_refresh(fdb_work->rvu, l2_entry->port_id, l2_entry->mac); WARNING: line length of 88 exceeds 80 columns #261: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:184: + l2_entry = list_first_entry_or_null(&l2_offl_lh, struct l2_entry, list); WARNING: line length of 83 exceeds 80 columns #273: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:196: + rvu_sw_l2_offl_cancel_add_if_del_reqs_exist(l2_entry->mac); WARNING: line length of 85 exceeds 80 columns #295: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:218: + rvu_sw_l2_offl_wq = alloc_workqueue("swdev_rvu_sw_l2_offl_wq", 0, 0); WARNING: line length of 84 exceeds 80 columns #302: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c:225: + INIT_WORK(&fdb_refresh_work.work, rvu_sw_l2_fdb_refresh_wq_handler); WARNING: line length of 81 exceeds 80 columns #391: FILE: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:147: + rsp = (struct msg_rsp *)otx2_mbox_alloc_msg(&vf->mbox.mbox_up, 0, WARNING: line length of 84 exceeds 80 columns #392: FILE: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:148: + sizeof(struct msg_rsp)); WARNING: line length of 97 exceeds 80 columns #401: FILE: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:157: + (struct af2pf_fdb_refresh_req *)req, total: 0 errors, 11 warnings, 0 checks, 543 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 4dfd7387d917 ("octeontx2: switch: L2 offload support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 11 warnings, 0 checks, 543 lines checked