[dpdk-test-report] |WARNING| pw85438 [PATCH v3 30/33] net/txgbe: add security session create operation
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Dec 18 10:45:19 CET 2020
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
More information about the test-report
mailing list