|WARNING| pw117867 [PATCH v3] pci: read amd iommu virtual address width

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 11 03:52:35 CEST 2022


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

_coding style issues_


WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 27)
#157: FILE: drivers/bus/pci/linux/pci.c:516:
+		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:525:
 	}
+	else {

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

total: 1 errors, 2 warnings, 71 lines checked


More information about the test-report mailing list