Message ID | 20240912092253.119754-2-hadess@hadess.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 1428d8461e92650f4414b3443bc6adc7cce70c49 |
Headers | show |
Series | Fix bluetoothctl hanging if daemon isn't running | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/BuildEll | success | Build ELL PASS |
tedd_an/BluezMake | success | Bluez Make PASS |
tedd_an/MakeCheck | success | Bluez Make Check PASS |
tedd_an/MakeDistcheck | success | Make Distcheck PASS |
tedd_an/CheckValgrind | success | Check Valgrind PASS |
tedd_an/CheckSmatch | warning | CheckSparse WARNING src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h): |
tedd_an/bluezmakeextell | success | Make External ELL PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
tedd_an/ScanBuild | success | Scan Build PASS |
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=889687 ---Test result--- Test Summary: CheckPatch FAIL 1.44 seconds GitLint PASS 0.89 seconds BuildEll PASS 25.63 seconds BluezMake PASS 1740.30 seconds MakeCheck PASS 12.91 seconds MakeDistcheck PASS 179.84 seconds CheckValgrind PASS 257.61 seconds CheckSmatch WARNING 360.88 seconds bluezmakeextell PASS 121.02 seconds IncrementalBuild PASS 4687.59 seconds ScanBuild PASS 1026.96 seconds Details ############################## Test: CheckPatch - FAIL Desc: Run checkpatch.pl script Output: [BlueZ,2/3] client: Respect --timeout when bluetoothd isn't running WARNING:LONG_LINE: line length of 83 exceeds 80 columns #105: FILE: client/main.c:3237: + timeout_id = timeout_add(timeout * 1000, timeout_quit, NULL, NULL); /github/workspace/src/src/13801792.patch total: 0 errors, 1 warnings, 47 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/13801792.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: CheckSmatch - WARNING Desc: Run smatch tool with source Output: src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h):src/shared/shell.c: note: in included file (through /usr/include/readline/readline.h): --- Regards, Linux Bluetooth
diff --git a/src/shared/shell.c b/src/shared/shell.c index 246de209e41c..c31487190d0f 100644 --- a/src/shared/shell.c +++ b/src/shared/shell.c @@ -1670,3 +1670,8 @@ void *bt_shell_get_env(const char *name) return env->value; } + +int bt_shell_get_timeout(void) +{ + return data.timeout; +} diff --git a/src/shared/shell.h b/src/shared/shell.h index a9a635bda959..b03250cac80f 100644 --- a/src/shared/shell.h +++ b/src/shared/shell.h @@ -85,4 +85,6 @@ bool bt_shell_detach(void); void bt_shell_set_env(const char *name, void *value); void *bt_shell_get_env(const char *name); +int bt_shell_get_timeout(void); + void bt_shell_cleanup(void);