[dpdk-test-report] |WARNING| pw93519 [PATCH 19/20] net/sfc: support flow action COUNT in transfer rules

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 27 17:29:00 CEST 2021


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EALREADY)
#260: FILE: drivers/net/sfc/sfc_mae.c:566:
+		return EALREADY;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#317: FILE: drivers/net/sfc/sfc_mae.c:628:
+			return ENOMEM;

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#700: FILE: drivers/net/sfc/sfc_mae_counter.c:109:
+	sfc_info(sa, "enabled MAE counter #%u with reset pkts=%" PRIu64

WARNING:TYPO_SPELLING: 'sevice' may be misspelled - perhaps 'service'?
#1027: FILE: drivers/net/sfc/sfc_mae_counter.c:436:
+	char counter_service_name[sizeof(service.name)] = "counter_sevice";

total: 0 errors, 3 warnings, 1 checks, 1201 lines checked


More information about the test-report mailing list