|WARNING| pw126879 [PATCH] lib/kni : fix memory-leak on rte_kni_rx_burst
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue May 16 12:49:38 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/126879
_coding style issues_
ERROR:TRAILING_WHITESPACE: trailing whitespace
#115: FILE: lib/kni/rte_kni.c:686:
+^I/* First, getting allocation count from alloc_q. alloc_q is allocated in this function $
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#118: FILE: lib/kni/rte_kni.c:689:
+ * */
ERROR:SPACING: spaces required around that '?' (ctx:VxW)
#127: FILE: lib/kni/rte_kni.c:696:
+ allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free;
^
ERROR:SPACING: space prohibited before that close parenthesis ')'
#127: FILE: lib/kni/rte_kni.c:696:
+ allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free;
ERROR:SPACING: space required before the open parenthesis '('
#130: FILE: lib/kni/rte_kni.c:699:
+ if(!allocq_count) {
total: 4 errors, 1 warnings, 38 lines checked
More information about the test-report
mailing list