automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw90682 [PATCH v5 07/52] common/cnxk: add mailbox base infra
       [not found] <20210406144144.19925-8-ndabilpuram@marvell.com>
@ 2021-04-06 14:45 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-04-06 14:45 UTC (permalink / raw)
  To: test-report; +Cc: Nithin Dabilpuram

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

_coding style issues_


ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#591: FILE: drivers/common/cnxk/roc_mbox.c:461:
+#define M(_name, _id, _1, _2, _3)                                              \
+	case _id:                                                              \
+		return #_name;

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#591: FILE: drivers/common/cnxk/roc_mbox.c:461:
+#define M(_name, _id, _1, _2, _3)                                              \
+	case _id:                                                              \
+		return #_name;

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#591: FILE: drivers/common/cnxk/roc_mbox.c:461:
+#define M(_name, _id, _1, _2, _3)                                              \
+	case _id:                                                              \
+		return #_name;

ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#606: FILE: drivers/common/cnxk/roc_mbox.c:476:
+#define M(_1, _id, _2, _req_type, _3)                                          \
+	case _id:                                                              \
+		return sizeof(struct _req_type);

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#606: FILE: drivers/common/cnxk/roc_mbox.c:476:
+#define M(_1, _id, _2, _req_type, _3)                                          \
+	case _id:                                                              \
+		return sizeof(struct _req_type);

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#606: FILE: drivers/common/cnxk/roc_mbox.c:476:
+#define M(_1, _id, _2, _req_type, _3)                                          \
+	case _id:                                                              \
+		return sizeof(struct _req_type);

total: 2 errors, 4 warnings, 766 lines checked

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

only message in thread, other threads:[~2021-04-06 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210406144144.19925-8-ndabilpuram@marvell.com>
2021-04-06 14:45 ` [dpdk-test-report] |WARNING| pw90682 [PATCH v5 07/52] common/cnxk: add mailbox base infra 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).