|WARNING| pw128057 [PATCH v3 29/34] net/sfc: rework MAE action rule counter representation in SW

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 5 01:29:28 CEST 2023


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

_coding style issues_


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

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#209: FILE: drivers/net/sfc/sfc_mae.c:904:
+		rc = efx_mae_action_set_fill_in_counter_id(

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#773: FILE: drivers/net/sfc/sfc_mae_counter.c:175:
+		 " bytes=%" PRIu64, mae_counter->id,

total: 0 errors, 1 warnings, 2 checks, 680 lines checked


More information about the test-report mailing list