|WARNING| pw155604 [PATCH] net/cksum: compute raw cksum for several segments
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jul 31 11:53:30 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155604
_coding style issues_
ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?)
#103: FILE: :176:
uint32_t off, uint32_t len,
WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file
#108: FILE: :180:
+ tmp = rte_bswap32(tmp);
WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file
#118: FILE: :192:
+ *cksum = __rte_raw_cksum_reduce_u64(sum);
ERROR:CODE_INDENT: code indent should use tabs where possible
#152: FILE: lib/net/rte_cksum.h:95:
+ uint32_t tmp;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#152: FILE: lib/net/rte_cksum.h:95:
+ uint32_t tmp;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#154: FILE: lib/net/rte_cksum.h:97:
+ tmp = __rte_raw_cksum_reduce((uint32_t)sum);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#154: FILE: lib/net/rte_cksum.h:97:
+ tmp = __rte_raw_cksum_reduce((uint32_t)sum);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#155: FILE: lib/net/rte_cksum.h:98:
+ tmp += __rte_raw_cksum_reduce((uint32_t)(sum >> 32));$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#155: FILE: lib/net/rte_cksum.h:98:
+ tmp += __rte_raw_cksum_reduce((uint32_t)(sum >> 32));$
ERROR:CODE_INDENT: code indent should use tabs where possible
#156: FILE: lib/net/rte_cksum.h:99:
+ return __rte_raw_cksum_reduce(tmp);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#156: FILE: lib/net/rte_cksum.h:99:
+ return __rte_raw_cksum_reduce(tmp);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#168: FILE: lib/net/rte_cksum.h:141:
+ uint32_t tmp;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#168: FILE: lib/net/rte_cksum.h:141:
+ uint32_t tmp;$
ERROR:CODE_INDENT: code indent should use tabs where possible
#170: FILE: lib/net/rte_cksum.h:143:
+ uint64_t sum;$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#170: FILE: lib/net/rte_cksum.h:143:
+ uint64_t sum;$
WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: "èèµ" <susai.ss at bytedance.com>' != 'Signed-off-by: Su Sai <susai.ss at bytedance.com>'
total: 7 errors, 9 warnings, 58 lines checked
More information about the test-report
mailing list