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 #212: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.c:174: + rc |= rvu_sw_fl_stats_sync2db_one_entry(fl[idx].cookie, fl[idx].dis, WARNING: line length of 87 exceeds 80 columns #279: FILE: drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.c:241: + queue_delayed_work(sw_fl_offl_wq, &fl_offl_work, msecs_to_jiffies(10)); WARNING: line length of 90 exceeds 80 columns #380: 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 #391: 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 #545: 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 #589: 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 #752: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:355: + __func__, __LINE__, &tuple->ip4src, &tuple->ip4dst); WARNING: line length of 93 exceeds 80 columns #756: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:359: + if ((tuple->ip4src & tuple->m_ip4src) == (tuple->ip4dst & tuple->m_ip4dst)) { WARNING: line length of 83 exceeds 80 columns #758: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:361: + __func__, __LINE__, &tuple->ip4src, &tuple->ip4dst); WARNING: line length of 81 exceeds 80 columns #831: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:434: + rc = sw_fl_get_pcifunc(tuple.ip4src, &tuple.in_pf, &tuple, true); WARNING: line length of 84 exceeds 80 columns #835: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:438: + rc = sw_fl_get_pcifunc(tuple.ip4dst, &tuple.xmit_pf, &tuple, false); WARNING: line length of 90 exceeds 80 columns #861: FILE: drivers/net/ethernet/marvell/octeontx2/nic/switch/sw_fl.c:464: + pr_err("%s:%d Error happened while mcam alloc req\n", __func__, __LINE__); total: 0 errors, 13 warnings, 0 checks, 898 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 27547b93ea38 ("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, 898 lines checked