[dpdk-test-report] |WARNING| pw36360 [PATCH V2 3/5] Add Intel FPGA BUS Lib Code

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Mar 21 08:59:52 CET 2018


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#186: FILE: drivers/bus/ifpga/ifpga_bus.c:77:
+static const char *valid_args[] = {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 20)
#478: FILE: drivers/bus/ifpga/ifpga_bus.c:369:
+		if (afu_dev != NULL)
+		    TAILQ_INSERT_TAIL(&rte_ifpga_bus.afu_list, afu_dev, next);

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 20)
#561: FILE: drivers/bus/ifpga/ifpga_bus.c:452:
+		if (ret < 0)
+		    IFPGA_BUS_ERR("failed to initialize %s device
",

total: 0 errors, 3 warnings, 997 lines checked


More information about the test-report mailing list