[dpdk-test-report] |WARNING| pw103856 [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Nov 5 09:35:55 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/103856
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#375: FILE: drivers/net/sfc/sfc_ef100_rx.c:148:
+ return EFAULT;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#499: FILE: drivers/net/sfc/sfc_ef100_tx.c:360:
+ return EFAULT;
CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#820: FILE: drivers/net/sfc/sfc_nic_dma.c:58:
+ "cannot handle memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 ": %s",
WARNING:LONG_LINE: line length of 151 exceeds 100 columns
#828: FILE: drivers/net/sfc/sfc_nic_dma.c:66:
+ "registered memory buffer VA=%p IOVA=%" PRIx64 " length=0x%" PRIx64 " -> NIC_BASE=%" PRIx64 " TRGT_BASE=%" PRIx64 " MAP_LEN=%" PRIx64,
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#1011: FILE: drivers/net/sfc/sfc_nic_dma.c:249:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EFAULT)
#1105: FILE: drivers/net/sfc/sfc_nic_dma.c:343:
+ return EFAULT;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#1199: FILE: drivers/net/sfc/sfc_nic_dma_dp.c:21:
+ return ENOMEM;
total: 0 errors, 6 warnings, 1 checks, 1128 lines checked
More information about the test-report
mailing list