WARNING: Argument '_name' is not used in function-like macro #49: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l3.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 85 exceeds 80 columns #91: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l3.c:55: + __func__, __LINE__, entry->cmd, entry->port_id, entry->dst, WARNING: line length of 88 exceeds 80 columns #163: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l3.c:127: + l3_entry = list_first_entry_or_null(&l3_offl_lh, struct l3_entry, list); WARNING: line length of 87 exceeds 80 columns #298: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fib.c:44: + entry->gw_valid, entry->mac_valid, entry->dst, entry->dst_len, WARNING: line length of 82 exceeds 80 columns #338: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fib.c:84: + struct sw_fib_list_entry, lh)) != NULL) { total: 0 errors, 5 warnings, 0 checks, 414 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 e1731522ca6e ("octeontx2: switch: L3 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, 5 warnings, 0 checks, 414 lines checked