automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw106611 [PATCH 4/5] examples/fips_validation: allow json file as input
       [not found] <20220127145142.86742-5-blo@iol.unh.edu>
@ 2022-01-27 14:52 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-01-27 14:52 UTC (permalink / raw)
  To: test-report; +Cc: Brandon Lo

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

_coding style issues_


ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#138: FILE: examples/fips_validation/main.c:447:
+		if (use_json) json_decref(json_info.json_root);

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#171: FILE: examples/fips_validation/main.c:1259:
+	if (info.file_type != FIPS_TYPE_JSON) fips_test_write_one_case();

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#188: FILE: examples/fips_validation/main.c:1294:
+	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
#257: FILE: examples/fips_validation/main.c:1951:
+	switch (info.algo) {
+		case FIPS_TEST_ALGO_AES_GCM:
[...]
+		default:

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#264: FILE: examples/fips_validation/main.c:1958:
+	if (ret < 0) return ret;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#267: FILE: examples/fips_validation/main.c:1961:
+	if (ret < 0) return ret;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#270: FILE: examples/fips_validation/main.c:1964:
+	if (ret < 0) return ret;

total: 7 errors, 0 warnings, 252 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-27 14:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220127145142.86742-5-blo@iol.unh.edu>
2022-01-27 14:52 ` |WARNING| pw106611 [PATCH 4/5] examples/fips_validation: allow json file as input checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).