automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw127249 [PATCH 01/15] common/cnxk: add ROC MACsec initialization
       [not found] <20230523200401.1945974-2-gakhil@marvell.com>
@ 2023-05-23 20:05 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-05-23 20:05 UTC (permalink / raw)
  To: test-report; +Cc: Akhil Goyal

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/127249

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#603: FILE: drivers/common/cnxk/roc_mcs_priv.h:16:
+#define MCS_SUPPORT_CHECK                                                                          \
+	do {                                                                                       \
+		if (!(roc_model_is_cnf10kb() || roc_model_is_cn10kb_a0()))                         \
+			return MCS_ERR_HW_NOTSUP;                                                  \
+	} while (0)

total: 0 errors, 1 warnings, 546 lines checked
Warning in drivers/common/cnxk/roc_mcs.c:
Declaring a variable inside for()

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-23 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230523200401.1945974-2-gakhil@marvell.com>
2023-05-23 20:05 ` |WARNING| pw127249 [PATCH 01/15] common/cnxk: add ROC MACsec initialization checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).