automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-test-report] |WARNING| pw71317 [PATCH v2 10/10] eal: mark old macros for blacklist/whitelist as deprecated
Date: Fri, 12 Jun 2020 02:22:33 +0200 (CEST)	[thread overview]
Message-ID: <20200612002233.6F89F2C36@dpdk.org> (raw)
In-Reply-To: <20200612002039.17450-11-stephen@networkplumber.org>

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#99: FILE: lib/librte_eal/include/rte_bus.h:222:
+#define RTE_BUS_SCAN_WHITELIST  \
+	_Pragma("GCC warning \"'RTE_BUS_SCAN_WHITELIST' macro is deprecated.\"") \
+	RTE_BUS_SCAN_ALLOWLIST

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#103: FILE: lib/librte_eal/include/rte_bus.h:226:
+#define RTE_BUS_SCAN_BLACKLIST	\
+	_Pragma("GCC warning \"'RTE_BUS_SCAN_BLACKLIST' macro is deprecated.\"") \
+	RTE_BUS_SCAN_BLOCKLIST

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: lib/librte_eal/include/rte_dev.h:77:
+#define RTE_DEV_WHITELISTED \
+	_Pragma("GCC warning \"'RTE_DEV_WHITELISTED' macro is deprecated.\"") \
+	RTE_DEV_ALLOWED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#124: FILE: lib/librte_eal/include/rte_dev.h:81:
+#define RTE_DEV_BLACKLISTED \
+	_Pragma("GCC warning \"'RTE_DEV_BLACKLISTED' macro is deprecated.\"") \
+	RTE_DEV_BLOCKED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#141: FILE: lib/librte_eal/include/rte_devargs.h:37:
+#define RTE_DEVTYPE_WHITELISTED_PCI \
+	_Pragma("GCC warning \"'RTE_DEVTYPE_WHITELISTED_PCI' macro is deprecated.\"") \
+	RTE_DEVTYPE_ALLOWED_PCI

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#145: FILE: lib/librte_eal/include/rte_devargs.h:41:
+#define RTE_DEVTYPE_BLACKLISTED_PCI \
+	_Pragma("GCC warning \"'RTE_DEVTYPE_BLACKLISTED_PCI' macro is deprecated.\"") \
+	RTE_DEVTYPE_BLOCKED_PCI

total: 6 errors, 0 warnings, 48 lines checked

       reply	other threads:[~2020-06-12  0:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200612002039.17450-11-stephen@networkplumber.org>
2020-06-12  0:22 ` checkpatch [this message]
2020-06-12  3:13 ` [dpdk-test-report] |WARNING| pw71317 " 0-day Robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200612002233.6F89F2C36@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).