|WARNING| pw118794 [PATCH v6 08/18] net/mlx5: add HW steering counter action

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 20 17:44:59 CEST 2022


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#1609: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:190:
+		DRV_LOG(ERR, "counter number %"PRIu64" is out of 32bit range",

CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1609: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:190:
+		DRV_LOG(ERR, "counter number %"PRIu64" is out of 32bit range",

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1721: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:302:
+	uint32_t idx, alloced = 0;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1747: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:328:
+	alloced = cpool->dcs_mng.dcs[0].batch_sz;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1758: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:339:
+			cpool->dcs_mng.dcs[idx].iidx = alloced;

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1759: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:340:
+			alloced += cpool->dcs_mng.dcs[idx].batch_sz;

CHECK:CAMELCASE: Avoid CamelCase: <PRIu32>
#1766: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:347:
+		"Cannot alloc device counter, allocated[%" PRIu32 "] request[%" PRIu32 "]",

WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#1767: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:348:
+		alloced, cnt_num);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1804: FILE: drivers/net/mlx5/mlx5_hws_cnt.c:385:
+	if (priv->sh->config.dv_esw_en && priv->master)

total: 0 errors, 6 warnings, 3 checks, 2204 lines checked


More information about the test-report mailing list