automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw115488 [PATCH v4 08/27] eal: deprecate RTE_FUNC_PTR_* macros
       [not found] <20220826124208.671400-9-david.marchand@redhat.com>
@ 2022-08-26 12:43 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-26 12:43 UTC (permalink / raw)
  To: test-report; +Cc: David Marchand

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#950: FILE: lib/eal/include/rte_dev.h:41:
+#define RTE_FUNC_PTR_OR_ERR_RET(func, retval) RTE_DEPRECATED(RTE_FUNC_PTR_OR_ERR_RET) \
+do { \
 	if ((func) == NULL) \
 		return retval; \
 } while (0)

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

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#957: FILE: lib/eal/include/rte_dev.h:47:
+#define RTE_FUNC_PTR_OR_RET(func) RTE_DEPRECATED(RTE_FUNC_PTR_OR_RET) \
+do { \
 	if ((func) == NULL) \
 		return; \
 } while (0)

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

total: 2 errors, 2 warnings, 2281 lines checked
--- a/doc/guides/rel_notes/release_22_11.rst
+++ b/doc/guides/rel_notes/release_22_11.rst

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

only message in thread, other threads:[~2022-08-26 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220826124208.671400-9-david.marchand@redhat.com>
2022-08-26 12:43 ` |WARNING| pw115488 [PATCH v4 08/27] eal: deprecate RTE_FUNC_PTR_* macros 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).