|WARNING| pw118035 [PATCH v4] pci: read amd iommu virtual address width
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Oct 12 13:59:19 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/118035
_coding style issues_
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 27)
#158: 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 '}'
#171: FILE: drivers/bus/pci/linux/pci.c:513:
}
+ else {
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (24, 35)
#180: 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