WARNING: Argument '_name' is not used in function-like macro #51: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.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 84 exceeds 80 columns #210: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.c:172: + rc |= rvu_sw_fl_stats_sync2db_one_entry(fl[idx].cookie, fl[idx].dis, WARNING: line length of 87 exceeds 80 columns #277: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.c:239: + queue_delayed_work(sw_fl_offl_wq, &fl_offl_work, msecs_to_jiffies(10)); WARNING: line length of 90 exceeds 80 columns #375: FILE: drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:1605: + sw_fl_setup_ft_block_ingress_cb, WARNING: line length of 82 exceeds 80 columns #386: FILE: drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:1616: + sw_fl_setup_ft_block_ingress_cb, WARNING: line length of 91 exceeds 80 columns #540: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:148: + sw_fl_setup_ft_block_ingress_cb, WARNING: line length of 95 exceeds 80 columns #584: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:192: +static int sw_fl_get_pcifunc(__be32 dst, u16 *pcifunc, struct fl_tuple *ftuple, bool is_in_dev) WARNING: line length of 83 exceeds 80 columns #749: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:357: + __func__, __LINE__, &tuple->ip4src, &tuple->ip4dst); WARNING: line length of 93 exceeds 80 columns #753: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:361: + if ((tuple->ip4src & tuple->m_ip4src) == (tuple->ip4dst & tuple->m_ip4dst)) { WARNING: line length of 83 exceeds 80 columns #755: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:363: + __func__, __LINE__, &tuple->ip4src, &tuple->ip4dst); WARNING: line length of 81 exceeds 80 columns #828: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:436: + rc = sw_fl_get_pcifunc(tuple.ip4src, &tuple.in_pf, &tuple, true); WARNING: line length of 84 exceeds 80 columns #832: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:440: + rc = sw_fl_get_pcifunc(tuple.ip4dst, &tuple.xmit_pf, &tuple, false); WARNING: line length of 90 exceeds 80 columns #858: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:466: + pr_err("%s:%d Error happened while mcam alloc req\n", __func__, __LINE__); total: 0 errors, 13 warnings, 0 checks, 889 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 2da0f33298d1 ("octeontx2: switch: Flow 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, 13 warnings, 0 checks, 889 lines checked