|WARNING| pw106710 [PATCH v2 4/5] examples/fips_validation: allow json file as input
checkpatch at dpdk.org
checkpatch at dpdk.org
Sat Jan 29 18:04:19 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/106710
_coding style issues_
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#159: FILE: examples/fips_validation/main.c:1257:
+ if (info.file_type != FIPS_TYPE_JSON) fips_test_write_one_case();
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#176: FILE: examples/fips_validation/main.c:1292:
+ if (info.file_type != FIPS_TYPE_JSON) fprintf(info.fp_wr, "
");
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#245: FILE: examples/fips_validation/main.c:1949:
+ switch (info.algo) {
+ case FIPS_TEST_ALGO_AES_GCM:
[...]
+ default:
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#252: FILE: examples/fips_validation/main.c:1956:
+ if (ret < 0) return ret;
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#255: FILE: examples/fips_validation/main.c:1959:
+ if (ret < 0) return ret;
ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#258: FILE: examples/fips_validation/main.c:1962:
+ if (ret < 0) return ret;
total: 6 errors, 0 warnings, 237 lines checked
More information about the test-report
mailing list