|WARNING| pw160778 [PATCH v4] devtools: replace checkpatches shell wrapper with Python script

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 4 18:01:19 CET 2026


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#90: 
Alternative to the checkpatches.sh shell script that wraps the Linux kernel's

WARNING:TYPO_SPELLING: 'statics' may be misspelled - perhaps 'statistics'?
#742: FILE: devtools/dpdk-checkpatch.py:567:
+                            "do not initialise statics to 0 or NULL",
                                                ^^^^^^^

ERROR:TRAILING_WHITESPACE: trailing whitespace
#892: FILE: devtools/dpdk-checkpatch.py:717:
+                        'hot': '__rte_hot', $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#946: FILE: devtools/dpdk-checkpatch.py:771:
+                        if not (stripped_content.startswith("/*") or $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#947: FILE: devtools/dpdk-checkpatch.py:772:
+                                stripped_content.startswith("*") or $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#1041: FILE: devtools/dpdk-checkpatch.py:866:
+                        'tcp', 'udp', 'arp', 'dns',    # Protocols  $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#1341: FILE: devtools/dpdk-checkpatch.py:1166:
+    $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#1346: FILE: devtools/dpdk-checkpatch.py:1171:
+    $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#1355: FILE: devtools/dpdk-checkpatch.py:1180:
+    $

ERROR:TRAILING_WHITESPACE: trailing whitespace
#1358: FILE: devtools/dpdk-checkpatch.py:1183:
+    $

total: 8 errors, 2 warnings, 1381 lines checked
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_experimental must appear alone on the line immediately preceding the return type of a function.
__rte_internal must appear alone on the line immediately preceding the return type of a function.
__rte_internal must appear alone on the line immediately preceding the return type of a function.
__rte_internal must appear alone on the line immediately preceding the return type of a function.
__rte_internal must appear alone on the line immediately preceding the return type of a function.
__rte_internal must appear alone on the line immediately preceding the return type of a function.
Please use __rte_aligned only for struct or union types alignment.
Please use __rte_cache_aligned only for struct or union types alignment.
Please use __rte_cache_min_aligned only for struct or union types alignment.
Use __rte_packed_begin only after struct, union or alignment attributes.
__rte_packed_begin and __rte_packed_end should always be used in pairs.


More information about the test-report mailing list