|WARNING| pw119255 [PATCH v5 3/3] sched: support for 100G+ rates in subport/pipe config
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Oct 28 10:14:59 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119255
_coding style issues_
ERROR:SPACING: space required before the open parenthesis '('
#91: FILE: examples/qos_sched/cfg_file.c:31:
+ if(!entry || !val)
WARNING:BRACES: braces {} are not necessary for single statement blocks
#97: FILE: examples/qos_sched/cfg_file.c:37:
+ if (errno == EINVAL || errno == ERANGE || *endptr != '') {
+ return -EINVAL;
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#248: FILE: examples/qos_sched/cfg_file.c:199:
+ if (ret) {
+ return ret;
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#384: FILE: examples/qos_sched/init.c:289:
+ if (cfg_load_port(file, &port_params)) {
+ rte_exit(EXIT_FAILURE, "Invalid port configuration
");
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#387: FILE: examples/qos_sched/init.c:292:
+ if (cfg_load_subport(file, subport_params)) {
+ rte_exit (EXIT_FAILURE, "Invalid subport configuration
");
+ }
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#388: FILE: examples/qos_sched/init.c:293:
+ rte_exit (EXIT_FAILURE, "Invalid subport configuration
");
WARNING:BRACES: braces {} are not necessary for single statement blocks
#390: FILE: examples/qos_sched/init.c:295:
+ if (cfg_load_subport_profile(file, subport_profile)) {
+ rte_exit(EXIT_FAILURE, "Invalid subport profile configuration
");
+ }
WARNING:BRACES: braces {} are not necessary for single statement blocks
#393: FILE: examples/qos_sched/init.c:298:
+ if (cfg_load_pipe(file, pipe_profiles)) {
+ rte_exit(EXIT_FAILURE, "Invalid pipe profile configuration
");
+ }
total: 1 errors, 7 warnings, 300 lines checked
More information about the test-report
mailing list