automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw113517 [RFC PATCH 04/11] dev: move unrelated macros from header
       [not found] <20220628144643.1213026-5-david.marchand@redhat.com>
@ 2022-06-28 14:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-06-28 14:48 UTC (permalink / raw)
  To: test-report; +Cc: David Marchand

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#199: FILE: lib/eal/include/rte_common.h:865:
+#define RTE_FUNC_PTR_OR_ERR_RET(func, retval) do { \
+	if ((func) == NULL) \
+		return retval; \
+} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#204: FILE: lib/eal/include/rte_common.h:870:
+#define RTE_FUNC_PTR_OR_RET(func) do { \
+	if ((func) == NULL) \
+		return; \
+} while (0)

total: 0 errors, 2 warnings, 125 lines checked

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

only message in thread, other threads:[~2022-06-28 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220628144643.1213026-5-david.marchand@redhat.com>
2022-06-28 14:48 ` |WARNING| pw113517 [RFC PATCH 04/11] dev: move unrelated macros from header 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).