|WARNING| pw123384 [RFC 12/13] hash: replace RTE_LOGTYPE_HASH with dynamic type

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 7 21:47:57 CET 2023


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

_coding style issues_


WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rte_hash_create', this function's name, in a string
#156: FILE: lib/hash/rte_cuckoo_hash.c:168:
+		HASH_LOG(ERR, "rte_hash_create has no parameters");

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rte_hash_create', this function's name, in a string
#165: FILE: lib/hash/rte_cuckoo_hash.c:177:
+		HASH_LOG(ERR, "rte_hash_create has invalid parameters");

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rte_hash_create', this function's name, in a string
#172: FILE: lib/hash/rte_cuckoo_hash.c:183:
+		HASH_LOG(ERR, "rte_hash_create: unsupported extra flags");

total: 0 errors, 3 warnings, 398 lines checked
Please only put __rte_experimental tags in headers (b/lib/hash/rte_thash.c)


More information about the test-report mailing list