[dpdk-test-report] |WARNING| pw35765 [PATCH RFC 5/5] test: add few eBPF samples

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 8 02:33:04 CET 2018


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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#397: FILE: test/bpf/mbuf.h:338:
+ * mbuf */

ERROR:CODE_INDENT: code indent should use tabs where possible
#404: FILE: test/bpf/mbuf.h:345:
+                               * with a single assignment */$

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#404: FILE: test/bpf/mbuf.h:345:
+                               * with a single assignment */

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#404: FILE: test/bpf/mbuf.h:345:
+typedef uint64_t MARKER64[0]; /**< marker that allows us to overwrite 8 bytes
+                               * with a single assignment */

ERROR:CODE_INDENT: code indent should use tabs where possible
#407: FILE: test/bpf/mbuf.h:348:
+        volatile int16_t cnt; /**< An internal counter value. */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#407: FILE: test/bpf/mbuf.h:348:
+        volatile int16_t cnt; /**< An internal counter value. */$

WARNING:FUNCTION_ARGUMENTS: function definition argument 'phys_addr_t' should also have an identifier name
#423: FILE: test/bpf/mbuf.h:364:
+	phys_addr_t buf_physaddr __rte_aligned(sizeof(phys_addr_t));

WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#493: FILE: test/bpf/mbuf.h:434:
+			/**< First 4 flexible bytes or FD ID, dependent on
+			     PKT_RX_FDIR_* flag in ol_flags. */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#493: FILE: test/bpf/mbuf.h:434:
+			     PKT_RX_FDIR_* flag in ol_flags. */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#547: FILE: test/bpf/mbuf.h:488:
+	 * mbuf, it stores the direct mbuf private data size. */

total: 2 errors, 8 warnings, 661 lines checked


More information about the test-report mailing list