automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw146263 [PATCH dpdk v4 03/17] net: add IPv6 address structure and utils
       [not found] <20241018091734.64601-4-rjarry@redhat.com>
@ 2024-10-18  9:20 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-10-18  9:20 UTC (permalink / raw)
  To: test-report; +Cc: Robin Jarry

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#369: 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
#371: 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
#403: 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, 322 lines checked

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

only message in thread, other threads:[~2024-10-18  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241018091734.64601-4-rjarry@redhat.com>
2024-10-18  9:20 ` |WARNING| pw146263 [PATCH dpdk v4 03/17] net: add IPv6 address structure and utils 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).