automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw42900 [v11, 07/25] eal: introduce device class abstraction
       [not found] <2ebad882d26ce9964b313428d5c07fe83acc880a.1531345404.git.gaetan.rivet@6wind.com>
@ 2018-07-11 21:46 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-07-11 21:46 UTC (permalink / raw)
  To: test-report; +Cc: Gaetan Rivet

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#251: FILE: lib/librte_eal/common/include/rte_class.h:114:
+#define RTE_REGISTER_CLASS(nm, cls) \
+RTE_INIT_PRIO(classinitfn_ ##nm, CLASS) \
+{\
+	(cls).name = RTE_STR(nm); \
+	rte_class_register(&cls); \
+}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#258: FILE: lib/librte_eal/common/include/rte_class.h:121:
+#define RTE_UNREGISTER_CLASS(nm, cls) \
+RTE_FINI_PRIO(classfinifn_ ##nm, CLASS) \
+{ \
+	rte_class_unregister(&cls); \
+}

total: 2 errors, 0 warnings, 244 lines checked

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

only message in thread, other threads:[~2018-07-11 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2ebad882d26ce9964b313428d5c07fe83acc880a.1531345404.git.gaetan.rivet@6wind.com>
2018-07-11 21:46 ` [dpdk-test-report] |WARNING| pw42900 [v11, 07/25] eal: introduce device class abstraction 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).