automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw153344 [PATCH v5 2/3] cmdline: add floating point support
       [not found] <b9f8ac77e4eeecd67a83d72cdf52ef3e08539bab.1746631324.git.anatoly.burakov@intel.com>
@ 2025-05-07 15:23 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-05-07 15:23 UTC (permalink / raw)
  To: test-report; +Cc: Anatoly Burakov

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

_coding style issues_


ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#118: FILE: app/test/test_cmdline_num.c:29:
+	const char * str;

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#311: FILE: app/test/test_cmdline_num.c:545:
+			ret = cmdline_parse_num((cmdline_parse_token_hdr_t*)&token,

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#312: FILE: app/test/test_cmdline_num.c:546:
+					float_invalid_strs[i], (void*)&result, sizeof(result));

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#315: FILE: app/test/test_cmdline_num.c:549:
+				cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token,

ERROR:CODE_INDENT: code indent should use tabs where possible
#348: FILE: app/test/test_cmdline_num.c:614:
+ ^I^I^Iret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token,$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#348: FILE: app/test/test_cmdline_num.c:614:
+ ^I^I^Iret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token,$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#348: FILE: app/test/test_cmdline_num.c:614:
+ ^I^I^Iret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token,$

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#348: FILE: app/test/test_cmdline_num.c:614:
+ 			ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token,

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#367: FILE: app/test/test_cmdline_num.c:661:
+			cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token,

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#370: FILE: app/test/test_cmdline_num.c:664:
+			ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token,

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#372: FILE: app/test/test_cmdline_num.c:666:
+				(void*)&result, sizeof(result));

WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#374: FILE: app/test/test_cmdline_num.c:668:
+			/* if it should have passed but didn't, or if it should have failed but didn't */

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#375: FILE: app/test/test_cmdline_num.c:669:
+			if ((ret < 0) == (can_parse_float(num_valid_float_strs[i].result, type) > 0)) {

WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#381: FILE: app/test/test_cmdline_num.c:675:
+			if (ret > 0 && float_cmp(num_valid_float_strs[i].result, &result, type) != 0) {

WARNING:TYPO_SPELLING: 'ressize' may be misspelled - perhaps 'resize'?
#503: FILE: lib/cmdline/cmdline_parse_num.c:78:
+		if (ressize < sizeof(float))

WARNING:TYPO_SPELLING: 'ressize' may be misspelled - perhaps 'resize'?
#507: FILE: lib/cmdline/cmdline_parse_num.c:82:
+		if (ressize < sizeof(double))

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#548: FILE: lib/cmdline/cmdline_parse_num.c:318:
+			if (res) *(float *)res = flt;

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#551: FILE: lib/cmdline/cmdline_parse_num.c:321:
+			if (res) *(double *)res = dres;

total: 11 errors, 7 warnings, 425 lines checked

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

only message in thread, other threads:[~2025-05-07 15:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b9f8ac77e4eeecd67a83d72cdf52ef3e08539bab.1746631324.git.anatoly.burakov@intel.com>
2025-05-07 15:23 ` |WARNING| pw153344 [PATCH v5 2/3] cmdline: add floating point support 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).