[dpdk-test-report] |WARNING| pw94206 [PATCH] net/ice: fix integer overflow when computing max_pkt_len

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jun 15 12:00:39 CEST 2021


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

_coding style issues_


ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?)
#100: FILE: drivers/net/ice/ice_dcf_ethdev.c:53:
ice_rx_queue *rxq)

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#105: FILE: drivers/net/ice/ice_dcf_ethdev.c:57:
+       uint16_t buf_size, max_pkt_len;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#114: FILE: drivers/net/ice/ice_dcf_ethdev.c:62:
+       max_pkt_len = RTE_MIN((uint32_t)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#115: FILE: drivers/net/ice/ice_dcf_ethdev.c:63:
+                             ICE_SUPPORT_CHAIN_NUM * rxq->rx_buf_len,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#115: FILE: drivers/net/ice/ice_dcf_ethdev.c:63:
+                             ICE_SUPPORT_CHAIN_NUM * rxq->rx_buf_len,$

ERROR:CODE_INDENT: code indent should use tabs where possible
#116: FILE: drivers/net/ice/ice_dcf_ethdev.c:64:
+                             dev->data->dev_conf.rxmode.max_rx_pkt_len);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#116: FILE: drivers/net/ice/ice_dcf_ethdev.c:64:
+                             dev->data->dev_conf.rxmode.max_rx_pkt_len);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#129: FILE: drivers/net/ice/ice_rxtx.c:261:
+       uint16_t buf_size;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#139: FILE: drivers/net/ice/ice_rxtx.c:271:
+       rxq->max_pkt_len = RTE_MIN((uint32_t)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#140: FILE: drivers/net/ice/ice_rxtx.c:272:
+                                  ICE_SUPPORT_CHAIN_NUM * rxq->rx_buf_len,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#140: FILE: drivers/net/ice/ice_rxtx.c:272:
+                                  ICE_SUPPORT_CHAIN_NUM * rxq->rx_buf_len,$

WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Tudor Cornea <tudor.cornea at gmail.com>' != 'Signed-off-by: Tudor Cornea <tudor.cornea at keysight.com>'

total: 4 errors, 8 warnings, 0 checks, 38 lines checked


More information about the test-report mailing list