|WARNING| pw130020 [PATCH 07/19] net/cpfl: create port representor

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 9 09:34:53 CEST 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#68: 
Track representor request in a whitelist.

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#93: FILE: drivers/net/cpfl/cpfl_ethdev.c:1902:
+cpfl_repr_whitelist_init(struct cpfl_adapter_ext *adapter)

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#111: FILE: drivers/net/cpfl/cpfl_ethdev.c:1920:
+	adapter->repr_whitelist_hash = rte_hash_create(&params);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#113: FILE: drivers/net/cpfl/cpfl_ethdev.c:1922:
+	if (adapter->repr_whitelist_hash == NULL) {

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#114: FILE: drivers/net/cpfl/cpfl_ethdev.c:1923:
+		PMD_INIT_LOG(ERR, "Failed to create repr whitelist hash");

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#122: FILE: drivers/net/cpfl/cpfl_ethdev.c:1931:
+cpfl_repr_whitelist_uninit(struct cpfl_adapter_ext *adapter)

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#124: FILE: drivers/net/cpfl/cpfl_ethdev.c:1933:
+	rte_hash_free(adapter->repr_whitelist_hash);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#135: FILE: drivers/net/cpfl/cpfl_ethdev.c:1967:
+	ret = cpfl_repr_whitelist_init(adapter);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#137: FILE: drivers/net/cpfl/cpfl_ethdev.c:1969:
+		PMD_INIT_LOG(ERR, "Failed to init representor whitelist");

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#138: FILE: drivers/net/cpfl/cpfl_ethdev.c:1970:
+		goto err_repr_whitelist_init;

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#148: FILE: drivers/net/cpfl/cpfl_ethdev.c:1997:
+	cpfl_repr_whitelist_uninit(adapter);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#149: FILE: drivers/net/cpfl/cpfl_ethdev.c:1998:
+err_repr_whitelist_init:

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#313: FILE: drivers/net/cpfl/cpfl_ethdev.h:187:
+	struct rte_hash *repr_whitelist_hash;

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#340: FILE: drivers/net/cpfl/cpfl_representor.c:9:
+cpfl_repr_whitelist_update(struct cpfl_adapter_ext *adapter,

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#346: FILE: drivers/net/cpfl/cpfl_representor.c:15:
+	if (rte_hash_lookup(adapter->repr_whitelist_hash, repr_id) < 0)

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#349: FILE: drivers/net/cpfl/cpfl_representor.c:18:
+	ret = rte_hash_add_key_data(adapter->repr_whitelist_hash, repr_id, dev);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#355: FILE: drivers/net/cpfl/cpfl_representor.c:24:
+cpfl_repr_whitelist_add(struct cpfl_adapter_ext *adapter,

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#361: FILE: drivers/net/cpfl/cpfl_representor.c:30:
+	if (rte_hash_lookup(adapter->repr_whitelist_hash, repr_id) >= 0) {

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#366: FILE: drivers/net/cpfl/cpfl_representor.c:35:
+	ret = rte_hash_add_key(adapter->repr_whitelist_hash, repr_id);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#391: FILE: drivers/net/cpfl/cpfl_representor.c:60:
+				ret = cpfl_repr_whitelist_add(adapter, &repr_id);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#395: FILE: drivers/net/cpfl/cpfl_representor.c:64:
+					PMD_DRV_LOG(ERR, "Failed to add PF repr to whitelist, "

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#405: FILE: drivers/net/cpfl/cpfl_representor.c:74:
+					ret = cpfl_repr_whitelist_add(adapter, &repr_id);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#409: FILE: drivers/net/cpfl/cpfl_representor.c:78:
+						PMD_DRV_LOG(ERR, "Failed to add VF repr to whitelist, "

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#471: FILE: drivers/net/cpfl/cpfl_representor.c:140:
+cpfl_repr_whitelist_del(struct cpfl_adapter_ext *adapter,

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#478: FILE: drivers/net/cpfl/cpfl_representor.c:147:
+	ret = rte_hash_del_key(adapter->repr_whitelist_hash, repr_id);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#480: FILE: drivers/net/cpfl/cpfl_representor.c:149:
+		PMD_DRV_LOG(ERR, "Failed to delete repr from whitelist."

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#502: FILE: drivers/net/cpfl/cpfl_representor.c:171:
+	cpfl_repr_whitelist_del(adapter, &repr->repr_id);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#658: FILE: drivers/net/cpfl/cpfl_representor.c:327:
+	return cpfl_repr_whitelist_update(adapter, &repr->repr_id, eth_dev);

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#713: FILE: drivers/net/cpfl/cpfl_representor.c:382:
+	while (rte_hash_iterate(adapter->repr_whitelist_hash,

total: 0 errors, 29 warnings, 0 checks, 703 lines checked


More information about the test-report mailing list