|WARNING| pw159931 [PATCH 4/8] net/nfb: add device argument "port" to limit used ports
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jan 15 16:18:27 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/159931
_coding style issues_
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#89: FILE: drivers/net/nfb/nfb.h:49:
+ NFB_ARG_PORT"=<number>"
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'end == NULL'
#114: FILE: drivers/net/nfb/nfb_ethdev.c:670:
+ if ((value[0] == '') || (end == NULL) || (*end != ''))
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#157: FILE: drivers/net/nfb/nfb_ethdev.c:715:
+ if (rte_kvargs_process(kvlist, NFB_ARG_PORT, fill_port_mask, (void*) &port_mask))
CHECK:SPACING: No space is necessary after a cast
#157: FILE: drivers/net/nfb/nfb_ethdev.c:715:
+ if (rte_kvargs_process(kvlist, NFB_ARG_PORT, fill_port_mask, (void*) &port_mask))
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#157: FILE: drivers/net/nfb/nfb_ethdev.c:715:
+ if (rte_kvargs_process(kvlist, NFB_ARG_PORT, fill_port_mask, (void*) &port_mask))
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'params->map_info.ifc_cnt'
#159: FILE: drivers/net/nfb/nfb_ethdev.c:717:
+ if (ret || port_mask >= (1ull << (params->map_info.ifc_cnt)))
total: 1 errors, 1 warnings, 4 checks, 105 lines checked
More information about the test-report
mailing list