* |WARNING| pw118035 [PATCH v4] pci: read amd iommu virtual address width
[not found] <20221011140854.777428-2-mpiszczek@ddn.com>
@ 2022-10-12 11:59 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-10-12 11:59 UTC (permalink / raw)
To: test-report; +Cc: Michael Piszczek
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
^ permalink raw reply [flat|nested] only message in thread