automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw85438 [PATCH v3 30/33] net/txgbe: add security session create operation
       [not found] <20201218093702.3651867-31-jiawenwu@trustnetic.com>
@ 2020-12-18  9:45 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-12-18  9:45 UTC (permalink / raw)
  To: test-report; +Cc: Jiawen Wu

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects?
#113: FILE: drivers/net/txgbe/txgbe_ipsec.c:13:
+#define CMP_IP(a, b) (\
+	(a).ipv6[0] == (b).ipv6[0] && \
+	(a).ipv6[1] == (b).ipv6[1] && \
+	(a).ipv6[2] == (b).ipv6[2] && \
+	(a).ipv6[3] == (b).ipv6[3])

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b' - possible side-effects?
#113: FILE: drivers/net/txgbe/txgbe_ipsec.c:13:
+#define CMP_IP(a, b) (\
+	(a).ipv6[0] == (b).ipv6[0] && \
+	(a).ipv6[1] == (b).ipv6[1] && \
+	(a).ipv6[2] == (b).ipv6[2] && \
+	(a).ipv6[3] == (b).ipv6[3])

CHECK:CAMELCASE: Avoid CamelCase: <IPv6>
#187: FILE: drivers/net/txgbe/txgbe_ipsec.c:87:
+		if (ic_session->dst_ip.type == IPv6) {

CHECK:CAMELCASE: Avoid CamelCase: <IPv4>
#190: FILE: drivers/net/txgbe/txgbe_ipsec.c:90:
+		} else if (ic_session->dst_ip.type == IPv4) {

total: 0 errors, 0 warnings, 4 checks, 367 lines checked

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

only message in thread, other threads:[~2020-12-18  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201218093702.3651867-31-jiawenwu@trustnetic.com>
2020-12-18  9:45 ` [dpdk-test-report] |WARNING| pw85438 [PATCH v3 30/33] net/txgbe: add security session create operation 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).