[dpdk-test-report] |WARNING| pw40551 [PATCH RFC 10/10] mem: enable memfd-based hugepage allocation

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 31 16:33:25 CEST 2018


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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#77: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:348:
+		 * 1GB per page size */

WARNING:BRACES: braces {} are not necessary for single statement blocks
#108: FILE: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c:379:
+	if (errno != EINVAL) {
+		return 1;
+	}

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#439: FILE: lib/librte_eal/linuxapp/eal/eal_memfd.h:17:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)

total: 0 errors, 3 warnings, 404 lines checked


More information about the test-report mailing list