* [dpdk-test-report] |WARNING| pw43799 vmxnet3: stats_reset implementation
[not found] <1534923617-55302-1-git-send-email-yogev@cgstowernetworks.com>
@ 2018-08-22 7:39 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-08-22 7:39 UTC (permalink / raw)
To: test-report; +Cc: yogev ch
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/43799
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <UPT1_TxStats>
#64: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:904:
+ struct UPT1_TxStats *res)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'f' - possible side-effects?
#68: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:908:
+#define VMXNET3_REDUCE_SNAPSHOT_TX_STAT(h, i, f, r) \
+ ((r)->f -= (h)->snapshot_tx_stats[(i)].f)
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'f' may be better as '(f)' to avoid precedence issues
#68: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:908:
+#define VMXNET3_REDUCE_SNAPSHOT_TX_STAT(h, i, f, r) \
+ ((r)->f -= (h)->snapshot_tx_stats[(i)].f)
CHECK:CAMELCASE: Avoid CamelCase: <ucastPktsTxOK>
#71: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:911:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, ucastPktsTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <mcastPktsTxOK>
#72: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:912:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, mcastPktsTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <bcastPktsTxOK>
#73: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:913:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, bcastPktsTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <ucastBytesTxOK>
#74: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:914:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, ucastBytesTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <mcastBytesTxOK>
#75: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:915:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, mcastBytesTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <bcastBytesTxOK>
#76: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:916:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, bcastBytesTxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <pktsTxError>
#77: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:917:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, pktsTxError, res);
CHECK:CAMELCASE: Avoid CamelCase: <pktsTxDiscard>
#78: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:918:
+ VMXNET3_REDUCE_SNAPSHOT_TX_STAT(hw, q, pktsTxDiscard, res);
CHECK:CAMELCASE: Avoid CamelCase: <UPT1_RxStats>
#85: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:925:
+ struct UPT1_RxStats *res)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'f' - possible side-effects?
#89: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:929:
+#define VMXNET3_REDUCE_SNAPSHOT_RX_STAT(h, i, f, r) \
+ ((r)->f -= (h)->snapshot_rx_stats[(i)].f)
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'f' may be better as '(f)' to avoid precedence issues
#89: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:929:
+#define VMXNET3_REDUCE_SNAPSHOT_RX_STAT(h, i, f, r) \
+ ((r)->f -= (h)->snapshot_rx_stats[(i)].f)
CHECK:CAMELCASE: Avoid CamelCase: <ucastPktsRxOK>
#92: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:932:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, ucastPktsRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <mcastPktsRxOK>
#93: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:933:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, mcastPktsRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <bcastPktsRxOK>
#94: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:934:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, bcastPktsRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <ucastBytesRxOK>
#95: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:935:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, ucastBytesRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <mcastBytesRxOK>
#96: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:936:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, mcastBytesRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <bcastBytesRxOK>
#97: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:937:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, bcastBytesRxOK, res);
CHECK:CAMELCASE: Avoid CamelCase: <pktsRxError>
#98: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:938:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, pktsRxError, res);
CHECK:CAMELCASE: Avoid CamelCase: <pktsRxOutOfBuf>
#99: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:939:
+ VMXNET3_REDUCE_SNAPSHOT_RX_STAT(hw, q, pktsRxOutOfBuf, res);
CHECK:CAMELCASE: Avoid CamelCase: <txStats>
#110: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:1056:
+ vmxnet3_tx_stats_get(hw, i, &txStats);
CHECK:CAMELCASE: Avoid CamelCase: <rxStats>
#119: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.c:1073:
+ vmxnet3_rx_stats_get(hw, i, &rxStats);
total: 0 errors, 0 warnings, 24 checks, 129 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-22 7:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1534923617-55302-1-git-send-email-yogev@cgstowernetworks.com>
2018-08-22 7:39 ` [dpdk-test-report] |WARNING| pw43799 vmxnet3: stats_reset implementation 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).