* [dpdk-test-report] |WARNING| [PATCH 10/32] net/dpaa2: introducing dpaa2 bus driver for fsl-mc bus
[not found] <1480875447-23680-11-git-send-email-hemant.agrawal@nxp.com>
@ 2016-12-04 12:45 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2016-12-04 12:45 UTC (permalink / raw)
To: test-report; +Cc: Hemant Agrawal
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/17642
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'nm' - possible side-effects?
#440: FILE: drivers/net/dpaa2/rte_dpaa2.h:107:
+#define RTE_PMD_REGISTER_DPAA2(nm, dpaa2_drv) \
+RTE_INIT(dpaa2initfn_ ##nm); \
+static void dpaa2initfn_ ##nm(void) \
+{\
+ (dpaa2_drv).driver.name = RTE_STR(nm);\
+ rte_dpaa2_register(&dpaa2_drv); \
+} \
+RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dpaa2_drv' - possible side-effects?
#440: FILE: drivers/net/dpaa2/rte_dpaa2.h:107:
+#define RTE_PMD_REGISTER_DPAA2(nm, dpaa2_drv) \
+RTE_INIT(dpaa2initfn_ ##nm); \
+static void dpaa2initfn_ ##nm(void) \
+{\
+ (dpaa2_drv).driver.name = RTE_STR(nm);\
+ rte_dpaa2_register(&dpaa2_drv); \
+} \
+RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
total: 0 errors, 0 warnings, 299 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-04 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1480875447-23680-11-git-send-email-hemant.agrawal@nxp.com>
2016-12-04 12:45 ` [dpdk-test-report] |WARNING| [PATCH 10/32] net/dpaa2: introducing dpaa2 bus driver for fsl-mc bus 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).