automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw106024 [PATCH v5 10/11] raw/cnxk_gpio: support selftest
       [not found] <20220118132424.2573372-11-tduszynski@marvell.com>
@ 2022-01-18 13:28 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-01-18 13:28 UTC (permalink / raw)
  To: test-report; +Cc: Tomasz Duszynski

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#196: FILE: drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c:57:
+#define CNXK_GPIO_ERR_STR(err, str, ...) do {                                  \
+	if (err) {                                                             \
+		RTE_LOG(ERR, PMD, "%s:%d: " str " (%d)
", __func__, __LINE__, \
+			##__VA_ARGS__, err);                                   \
+		goto out;                                                      \
+	}                                                                      \
+} while (0)

total: 0 errors, 1 warnings, 421 lines checked

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

only message in thread, other threads:[~2022-01-18 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220118132424.2573372-11-tduszynski@marvell.com>
2022-01-18 13:28 ` |WARNING| pw106024 [PATCH v5 10/11] raw/cnxk_gpio: support selftest 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).