[dpdk-test-report] |WARNING| pw35155 [PATCH] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 13 23:46:43 CET 2018


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#17: 
m->nb_segs? As 'next' is in the 2nd cacheline, checking nb_segs seems beneficial

ERROR:CODE_INDENT: code indent should use tabs where possible
#39: FILE: lib/librte_mbuf/rte_mbuf.h:1401:
+               if (m->nb_segs > 1) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#39: FILE: lib/librte_mbuf/rte_mbuf.h:1401:
+               if (m->nb_segs > 1) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (15, 23)
#39: FILE: lib/librte_mbuf/rte_mbuf.h:1401:
+               if (m->nb_segs > 1) {
                        m->next = NULL;

ERROR:CODE_INDENT: code indent should use tabs where possible
#48: FILE: lib/librte_mbuf/rte_mbuf.h:1413:
+               if (m->nb_segs > 1) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#48: FILE: lib/librte_mbuf/rte_mbuf.h:1413:
+               if (m->nb_segs > 1) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (15, 23)
#48: FILE: lib/librte_mbuf/rte_mbuf.h:1413:
+               if (m->nb_segs > 1) {
                        m->next = NULL;

ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)

total: 3 errors, 5 warnings, 16 lines checked


More information about the test-report mailing list