From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53B8145BD6 for ; Fri, 25 Oct 2024 14:35:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FE97402CF; Fri, 25 Oct 2024 14:35:04 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 3B31E40156 for ; Fri, 25 Oct 2024 14:34:29 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 2D77A123108; Fri, 25 Oct 2024 14:34:29 +0200 (CEST) Subject: |WARNING| pw147259 [PATCH v6 16/22] event/cnxk: support CN20K Rx adapter fast path In-Reply-To: <20241025122944.27745-16-pbhagavatula@marvell.com> References: <20241025122944.27745-16-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20241025123429.2D77A123108@dpdk.org> Date: Fri, 25 Oct 2024 14:34:29 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/147259 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #167: FILE: drivers/event/cnxk/cn20k_eventdev.c:14: +#define CN20K_SET_EVDEV_DEQ_OP(dev, deq_op, deq_ops) \ + deq_op = deq_ops[dev->rx_offloads & (NIX_RX_OFFLOAD_MAX - 1)] ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #185: FILE: drivers/event/cnxk/cn20k_eventdev.c:179: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #191: FILE: drivers/event/cnxk/cn20k_eventdev.c:185: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_tmo_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #197: FILE: drivers/event/cnxk/cn20k_eventdev.c:191: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #203: FILE: drivers/event/cnxk/cn20k_eventdev.c:197: +#define R(name, flags) [flags] = cn20k_sso_hws_deq_tmo_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #209: FILE: drivers/event/cnxk/cn20k_eventdev.c:203: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #215: FILE: drivers/event/cnxk/cn20k_eventdev.c:209: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_tmo_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #221: FILE: drivers/event/cnxk/cn20k_eventdev.c:215: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_seg_burst_##name, ERROR:BRACKET_SPACE: space prohibited before open square bracket '[' #227: FILE: drivers/event/cnxk/cn20k_eventdev.c:221: +#define R(name, flags) [flags] = cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon #466: FILE: drivers/event/cnxk/cn20k_worker.h:201: +#define R(name, flags) \ + uint16_t __rte_hot cn20k_sso_hws_deq_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_deq_tmo_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_ca_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn20k_sso_hws_reas_deq_tmo_ca_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #503: FILE: drivers/event/cnxk/cn20k_worker.h:238: +#define SSO_DEQ(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn20k_sso_hws *ws = port; \ + RTE_SET_USED(timeout_ticks); \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return 1; \ + } \ + return cn20k_sso_hws_get_work(ws, ev, flags); \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #519: FILE: drivers/event/cnxk/cn20k_worker.h:254: +#define SSO_DEQ_TMO(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn20k_sso_hws *ws = port; \ + uint16_t ret = 1; \ + uint64_t iter; \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return ret; \ + } \ + ret = cn20k_sso_hws_get_work(ws, ev, flags); \ + for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ + ret = cn20k_sso_hws_get_work(ws, ev, flags); \ + return ret; \ + } ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #539: FILE: drivers/event/cnxk/cn20k_worker.h:274: +#define R(name, flags) \ + SSO_DEQ(cn20k_sso_hws_deq_##name, flags) \ + SSO_DEQ(cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_SEG(cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_DEQ_SEG(cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO(cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_DEQ_TMO(cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO_SEG(cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_DEQ_TMO_SEG(cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #552: FILE: drivers/event/cnxk/cn20k_worker.h:287: +#define SSO_CMN_DEQ_BURST(fnb, fn, flags) \ + uint16_t __rte_hot fnb(void *port, struct rte_event ev[], uint16_t nb_events, \ + uint64_t timeout_ticks) \ + { \ + RTE_SET_USED(nb_events); \ + return fn(port, ev, timeout_ticks); \ + } WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #560: FILE: drivers/event/cnxk/cn20k_worker.h:295: +#define SSO_CMN_DEQ_SEG_BURST(fnb, fn, flags) \ + uint16_t __rte_hot fnb(void *port, struct rte_event ev[], uint16_t nb_events, \ + uint64_t timeout_ticks) \ + { \ + RTE_SET_USED(nb_events); \ + return fn(port, ev, timeout_ticks); \ + } ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #593: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #621: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #649: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #677: FILE: drivers/event/cnxk/deq/cn20k/deq_0_15_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #705: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #733: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #761: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #789: FILE: drivers/event/cnxk/deq/cn20k/deq_112_127_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #817: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F_) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #845: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #873: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #901: FILE: drivers/event/cnxk/deq/cn20k/deq_16_31_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #929: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F_) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #957: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #985: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, \ + flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1014: FILE: drivers/event/cnxk/deq/cn20k/deq_32_47_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1042: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1070: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1098: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1126: FILE: drivers/event/cnxk/deq/cn20k/deq_48_63_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1154: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1182: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1210: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1238: FILE: drivers/event/cnxk/deq/cn20k/deq_64_79_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1266: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1294: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1322: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1350: FILE: drivers/event/cnxk/deq/cn20k/deq_80_95_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1378: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_burst_##name, \ + cn20k_sso_hws_deq_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_burst_##name, \ + cn20k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1406: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_deq_seg_burst_##name, \ + cn20k_sso_hws_deq_seg_##name, flags) \ + SSO_CMN_DEQ_SEG_BURST(cn20k_sso_hws_reas_deq_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1434: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_tmo_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_burst_##name, \ + cn20k_sso_hws_deq_tmo_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #1462: FILE: drivers/event/cnxk/deq/cn20k/deq_96_111_tmo_seg_burst.c:13: +#define R(name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_CMN_DEQ_BURST(cn20k_sso_hws_reas_deq_tmo_seg_burst_##name, \ + cn20k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) total: 42 errors, 5 warnings, 1162 lines checked