2023-03-28 05:32:53

by Simon Mikuda

[permalink] [raw]
Subject: [PATCH BlueZ v2 1/2] l2test: Enable hex input for PSM

---
tools/l2test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/l2test.c b/tools/l2test.c
index 5aae4b687..232247b78 100644
--- a/tools/l2test.c
+++ b/tools/l2test.c
@@ -1416,7 +1416,7 @@ int main(int argc, char *argv[])
break;

case 'P':
- psm = atoi(optarg);
+ psm = strtoul(optarg, NULL, 0);
break;

case 'I':
--
2.34.1


2023-03-28 06:58:03

by bluez.test.bot

[permalink] [raw]
Subject: RE: l2test: Enable hex input for PSM

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=734449

---Test result---

Test Summary:
CheckPatch FAIL 1.32 seconds
GitLint PASS 0.68 seconds
BuildEll PASS 27.26 seconds
BluezMake PASS 1033.05 seconds
MakeCheck PASS 11.60 seconds
MakeDistcheck PASS 153.92 seconds
CheckValgrind PASS 251.46 seconds
CheckSmatch PASS 335.56 seconds
bluezmakeextell PASS 101.56 seconds
IncrementalBuild PASS 1774.04 seconds
ScanBuild PASS 1067.84 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[BlueZ,v2,2/2] l2test: Fix setting mode for BR/EDR l2cap socket
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#110: FILE: tools/l2test.c:160:
+ switch (mode) {
+ case BT_MODE_BASIC:
[...]
+ case BT_MODE_ERTM:
[...]
+ case BT_MODE_STREAMING:
[...]
+ case BT_MODE_LE_FLOWCTL:
[...]
+ case BT_MODE_EXT_FLOWCTL:
[...]
+ default:

/github/workspace/src/src/13190513.patch total: 1 errors, 0 warnings, 44 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/src/13190513.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.




---
Regards,
Linux Bluetooth