|WARNING| pw117868 [PATCH v3] pci: read amd iommu virtual address width
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 11 03:52:33 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117868
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 27)
#158: 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 '}'
#171: FILE: drivers/bus/pci/linux/pci.c:525:
}
+ else {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 35)
#180: 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