|WARNING| pw128321 [PATCH v4 32/34] net/sfc: indicate MAE counter type in use for transfer flows

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 7 15:08:13 CEST 2023


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128321

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#307: 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)
#339: 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)
#429: 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