[dpdk-test-report] |WARNING| pw50385 [RFC, v4] /net: memory interface (memif)

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 20 12:54:55 CET 2019


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

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#530: FILE: drivers/net/memif/memif.h:134:
+typedef struct __rte_packed __rte_aligned(128) {

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1122: FILE: drivers/net/memif/memif_socket.c:542:
+				ret = rte_intr_callback_unregister_pending(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#1339: FILE: drivers/net/memif/memif_socket.c:759:
+	dev = rte_eth_dev_allocated(rte_vdev_device_name(

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#1846: FILE: drivers/net/memif/rte_eth_memif.c:39:
+static const char *valid_arguments[] = {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#2795: FILE: drivers/net/memif/rte_eth_memif.c:988:
+	if (ret != 6) {
+		MIF_LOG(WARNING, "Failed to parse mac '%s'.", value);
+	}

total: 1 errors, 2 warnings, 3012 lines checked


More information about the test-report mailing list