|WARNING| pw128021 [PATCH v2 32/34] net/sfc: indicate MAE counter type in use for transfer flows
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Jun 4 02:05:49 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128021
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#308: FILE: drivers/net/sfc/sfc_mae_counter.c:144:
+ sfc_info(sa, "enabled MAE counter 0x%x-#%u with reset pkts=%" PRIu64
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#340: FILE: drivers/net/sfc/sfc_mae_counter.c:176:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#430: FILE: drivers/net/sfc/sfc_mae_counter.c:987:
+ return EINVAL;
total: 0 errors, 2 warnings, 1 checks, 355 lines checked
More information about the test-report
mailing list