|WARNING| pw118034 [PATCH v4] pci: read amd iommu virtual address width

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 12 13:59:21 CEST 2022


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 27)
#157: FILE: drivers/bus/pci/linux/pci.c:504:
+		if (fscanf(fp, "%" PRIx64, &cap_reg) != 1) {
+			   RTE_LOG(ERR, EAL, "%s(): can't read %s
", __func__, filename);

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#170: FILE: drivers/bus/pci/linux/pci.c:513:
 	}
+	else {

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 35)
#179: FILE: drivers/bus/pci/linux/pci.c:522:
+			if (fscanf(fp, "%" PRIx64, &cap_reg) != 1) {
+				   RTE_LOG(ERR, EAL, "%s(): can't read %s
", __func__, filename);

total: 1 errors, 2 warnings, 73 lines checked


More information about the test-report mailing list