* [dpdk-test-report] |WARNING| pw27989 [PATCH RFC 4/5] ixgbe: enable inline ipsec
[not found] <1503673046-30651-5-git-send-email-radu.nicolau@intel.com>
@ 2017-08-25 15:02 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-08-25 15:02 UTC (permalink / raw)
To: test-report; +Cc: Radu Nicolau
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/27989
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse '__reg' - possible side-effects?
#160: FILE: drivers/net/ixgbe/ixgbe_ipsec.c:47:
+#define IXGBE_WAIT_RW(__reg, __rw) \
+{ \
+ IXGBE_WRITE_REG(hw, (__reg), reg); \
+ while ((IXGBE_READ_REG(hw, (__reg))) & (__rw)) \
+ ; \
+}
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects?
#171: FILE: drivers/net/ixgbe/ixgbe_ipsec.c:58:
+#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?
#171: FILE: drivers/net/ixgbe/ixgbe_ipsec.c:58:
+#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>
#410: FILE: drivers/net/ixgbe/ixgbe_ipsec.c:297:
+ if (sess->dst_ip.type == IPv6)
CHECK:CAMELCASE: Avoid CamelCase: <IPv4>
#417: FILE: drivers/net/ixgbe/ixgbe_ipsec.c:304:
+ if (priv->rx_ip_table[ip_index].ip.type == IPv4) {
total: 0 errors, 0 warnings, 5 checks, 943 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-25 15:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1503673046-30651-5-git-send-email-radu.nicolau@intel.com>
2017-08-25 15:02 ` [dpdk-test-report] |WARNING| pw27989 [PATCH RFC 4/5] ixgbe: enable inline ipsec 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).