RE: Replace the name2utf8 copies with str2utf8

[email protected]
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1148699

---Test result---

Test Summary:
CheckPatch                    FAIL      2.79 seconds
GitLint                       FAIL      1.85 seconds
BuildEll                      PASS      12.74 seconds
BluezMake                     PASS      427.98 seconds
MakeCheck                     PASS      18.18 seconds
MakeDistcheck                 PASS      107.84 seconds
CheckValgrind                 PASS      148.48 seconds
CheckSmatch                   PASS      173.80 seconds
bluezmakeextell               PASS      61.42 seconds
IncrementalBuild              PASS      942.28 seconds
ScanBuild                     PASS      532.59 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[BlueZ,v1,1/8] eir: Fix stack buffer overflow when parsing the remote name
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#119: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#119: 
Assisted-by: Claude:claude-opus-5

/github/workspace/src/patch/14758089.patch total: 1 errors, 1 warnings, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758089.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,2/8] shared/util: Make strnlenutf8 reject ill-formed sequences
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#123: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#123: 
Assisted-by: Claude:claude-opus-5

/github/workspace/src/patch/14758090.patch total: 1 errors, 1 warnings, 106 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758090.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,3/8] shared/util: Add str2utf8
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#121: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#121: 
Assisted-by: Claude:claude-opus-5

/github/workspace/src/patch/14758091.patch total: 1 errors, 1 warnings, 62 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758091.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,4/8] unit/test-util: Add str2utf8 tests
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#110: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#110: 
Assisted-by: Claude:claude-opus-5

WARNING:TYPO_SPELLING: 'trun' may be misspelled - perhaps 'turn'?
#143: FILE: unit/test-util.c:106:
+	{ "truncated", 4, "trun" },
 	                   ^^^^

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#145: FILE: unit/test-util.c:108:
+	{ "ab\xff""cd", 5, "ab" FFFD "cd" },

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#147: FILE: unit/test-util.c:110:
+	{ "ab\x80""cd", 5, "ab" FFFD "cd" },

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#149: FILE: unit/test-util.c:112:
+	{ "ab\xe2\x82""cd", 6, "ab" FFFD "cd" },

/github/workspace/src/patch/14758092.patch total: 1 errors, 5 warnings, 95 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758092.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,5/8] Replace the name2utf8 copies with str2utf8
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#116: 
the improvement: the name that used to be reported as "test परी" is now

WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#122: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#122: 
Assisted-by: Claude:claude-opus-5

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#496: FILE: unit/test-eir.c:411:
+	.name = "test परी" "\xef\xbf\xbd" "्षा invalid",

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#506: FILE: unit/test-eir.c:440:
+	.name = "test \033$B" "\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd"

/github/workspace/src/patch/14758093.patch total: 1 errors, 4 warnings, 333 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758093.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,6/8] device: Fix the name truncation splitting UTF-8 sequences
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#121: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#121: 
Assisted-by: Claude:claude-opus-5

/github/workspace/src/patch/14758094.patch total: 1 errors, 1 warnings, 23 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758094.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,7/8] device: Rename btd_device_device_set_name to btd_device_set_name
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#104: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#104: 
Assisted-by: Claude:claude-opus-5

/github/workspace/src/patch/14758095.patch total: 1 errors, 1 warnings, 56 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758095.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


[BlueZ,v1,8/8] unit/test-util: Cover strtoutf8 with the str2utf8 tests
WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#113: 
Assisted-by: Claude:claude-opus-5

ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Claude:claude-opus-5'
#113: 
Assisted-by: Claude:claude-opus-5

WARNING:TYPO_SPELLING: 'trun' may be misspelled - perhaps 'turn'?
#160: FILE: unit/test-util.c:109:
+	{ "truncated", 4, "trun", "trun" },
 	                   ^^^^

WARNING:TYPO_SPELLING: 'trun' may be misspelled - perhaps 'turn'?
#160: FILE: unit/test-util.c:109:
+	{ "truncated", 4, "trun", "trun" },
 	                           ^^^^

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#163: FILE: unit/test-util.c:111:
+	{ "ab\xff""cd", 5, "ab" FFFD "cd", "ab" },

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#166: FILE: unit/test-util.c:113:
+	{ "ab\x80""cd", 5, "ab" FFFD "cd", "ab" },

WARNING:STRING_FRAGMENTS: Consecutive strings are generally better as a single string
#169: FILE: unit/test-util.c:115:
+	{ "ab\xe2\x82""cd", 6, "ab" FFFD "cd", "ab" },

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(utf8_tests)
#205: FILE: unit/test-util.c:139:
+	for (i = 0; i < sizeof(utf8_tests) / sizeof(utf8_tests[0]); i++) {

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(utf8_tests)
#234: FILE: unit/test-util.c:166:
+	for (i = 0; i < sizeof(utf8_tests) / sizeof(utf8_tests[0]); i++) {

/github/workspace/src/patch/14758096.patch total: 1 errors, 8 warnings, 137 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/patch/14758096.patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v1,6/8] device: Fix the name truncation splitting UTF-8 sequences

7: B3 Line contains hard tab characters (\t): "	strncpy(device->name, name, MAX_NAME_LENGTH);"


https://github.com/bluez/bluez/pull/2415

---
Regards,
Linux Bluetooth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.