[dpdk-test-report] |WARNING| pw40833 [PATCH 07/21] net/softnic: add port action profile
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Jun 8 16:19:12 CEST 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/40833
_coding style issues_
WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#427: FILE: drivers/net/softnic/hash_func_arm64.h:1:
+/*-
CHECK:SPACING: spaces required around that ':' (ctx:VxV)
#463: FILE: drivers/net/softnic/hash_func_arm64.h:37:
+ __asm__("crc32cx %w[c], %w[c], %x[v]":[c] "+r" (crc):[v] "r" (val))
^
CHECK:SPACING: spaces required around that ':' (ctx:VxV)
#463: FILE: drivers/net/softnic/hash_func_arm64.h:37:
+ __asm__("crc32cx %w[c], %w[c], %x[v]":[c] "+r" (crc):[v] "r" (val))
^
WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#714: FILE: drivers/net/softnic/rte_eth_softnic_action.c:1:
+/* SPDX-License-Identifier: BSD-3-Clause
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'name == NULL'
#779: FILE: drivers/net/softnic/rte_eth_softnic_action.c:66:
+ if ((name == NULL) ||
+ port_in_action_profile_find(p, name) ||
+ (params == NULL))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'params == NULL'
#779: FILE: drivers/net/softnic/rte_eth_softnic_action.c:66:
+ if ((name == NULL) ||
+ port_in_action_profile_find(p, name) ||
+ (params == NULL))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'params->lb.f_hash == NULL'
#784: FILE: drivers/net/softnic/rte_eth_softnic_action.c:71:
+ if ((params->action_mask & (1LLU << RTE_PORT_IN_ACTION_LB)) &&
+ (params->lb.f_hash == NULL)) {
total: 0 errors, 2 warnings, 882 lines checked
More information about the test-report
mailing list