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

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Jun 4 02:06:01 CEST 2023


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

_coding style issues_


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

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

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#774: 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