|WARNING| pw119039 [PATCH v6] pci: read amd iommu virtual address width

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 24 17:35:07 CEST 2022


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

_coding style issues_


ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#186: FILE: drivers/bus/pci/linux/pci.c:514:
+			}
+			else if (strstr(filename, "intel-iommu") != NULL) {

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#190: FILE: drivers/bus/pci/linux/pci.c:518:
+			}
+			else if (strstr(filename, "amd-iommu") != NULL) {

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#192: FILE: drivers/bus/pci/linux/pci.c:520:
+				mgaw = ((cap_reg & RD_AMD_CAP_VASIZE_MASK) >> RD_AMD_CAP_VASIZE_SHIFT) + 1;

total: 2 errors, 1 warnings, 83 lines checked


More information about the test-report mailing list