From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Robin Jarry <rjarry@redhat.com>
Subject: |WARNING| pw145684 [PATCH dpdk v3 04/17] net: add ipv6 address utilities
Date: Thu, 10 Oct 2024 21:44:43 +0200 (CEST) [thread overview]
Message-ID: <20241010194443.847A81206AA@dpdk.org> (raw)
In-Reply-To: <20241010194148.1877659-5-rjarry@redhat.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/145684
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#354: FILE: lib/net/rte_ip6.h:140:
+#define RTE_IPV6_U16_SPLIT(x) (uint8_t)(x), (uint8_t)((uint16_t)(x) >> 8)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#356: FILE: lib/net/rte_ip6.h:142:
+#define RTE_IPV6_U16_SPLIT(x) (uint8_t)((uint16_t)(x) >> 8), (uint8_t)(x)
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#388: FILE: lib/net/rte_ip6.h:174:
+#define RTE_IPV6_ADDR_SPLIT(ip) \
+ ((uint8_t)(ip)->a[0]), \
+ ((uint8_t)(ip)->a[1]), \
+ ((uint8_t)(ip)->a[2]), \
+ ((uint8_t)(ip)->a[3]), \
+ ((uint8_t)(ip)->a[4]), \
+ ((uint8_t)(ip)->a[5]), \
+ ((uint8_t)(ip)->a[6]), \
+ ((uint8_t)(ip)->a[7]), \
+ ((uint8_t)(ip)->a[8]), \
+ ((uint8_t)(ip)->a[9]), \
+ ((uint8_t)(ip)->a[10]), \
+ ((uint8_t)(ip)->a[11]), \
+ ((uint8_t)(ip)->a[12]), \
+ ((uint8_t)(ip)->a[13]), \
+ ((uint8_t)(ip)->a[14]), \
+ ((uint8_t)(ip)->a[15])
total: 3 errors, 0 warnings, 308 lines checked
parent reply other threads:[~2024-10-10 19:44 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20241010194148.1877659-5-rjarry@redhat.com>]
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=20241010194443.847A81206AA@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=rjarry@redhat.com \
--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).