RE: Add RAS Packet format and Notification support

bluez.test.bot
2026-04-27T19:47:06Z

[-- Attachment #1: Type: text/plain, Size: 10053 bytes --]

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

---Test result---

Test Summary:
CheckPatch PASS 1.66 seconds
GitLint FAIL 0.49 seconds
BuildEll PASS 20.14 seconds
BluezMake PASS 648.66 seconds
MakeCheck PASS 0.95 seconds
MakeDistcheck PASS 244.58 seconds
CheckValgrind PASS 222.50 seconds
CheckSmatch PASS 348.86 seconds
bluezmakeextell PASS 181.75 seconds
IncrementalBuild FAIL 21.99 seconds
ScanBuild FAIL 35.95 seconds

Details
##############################
Test: GitLint - FAIL
Desc: Run gitlint
Output:
[BlueZ,v4,1/3] src/shared: Add RAS packet formatting and notification support for CS reflector

WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search
1: T1 Title exceeds max length (94>80): "[BlueZ,v4,1/3] src/shared: Add RAS packet formatting and notification support for CS reflector"
##############################
Test: IncrementalBuild - FAIL
Desc: Incremental build with the patches in the series
Output:

src/shared/rap.c: In function ‘register_ras_service’:
src/shared/rap.c:968:3: error: implicit declaration of function ‘gatt_db_service_add_ccc_custom’; did you mean ‘gatt_db_service_add_ccc’? [-Werror=implicit-function-declaration]
968 | gatt_db_service_add_ccc_custom(ras->svc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gatt_db_service_add_ccc
src/shared/rap.c:967:25: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
967 | ras->realtime_chrc_ccc =
| ^
src/shared/rap.c:983:20: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
983 | ras->ondemand_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:999:14: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
999 | ras->cp_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1015:17: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1015 | ras->ready_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1031:23: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1031 | ras->overwritten_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:7859: src/shared/libshared_mainloop_la-rap.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4172: all] Error 2
[BlueZ,v4,1/3] src/shared: Add RAS packet formatting and notification support for CS reflector

src/shared/rap.c: In function ‘register_ras_service’:
src/shared/rap.c:968:3: error: implicit declaration of function ‘gatt_db_service_add_ccc_custom’; did you mean ‘gatt_db_service_add_ccc’? [-Werror=implicit-function-declaration]
968 | gatt_db_service_add_ccc_custom(ras->svc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gatt_db_service_add_ccc
src/shared/rap.c:967:25: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
967 | ras->realtime_chrc_ccc =
| ^
src/shared/rap.c:983:20: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
983 | ras->ondemand_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:999:14: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
999 | ras->cp_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1015:17: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1015 | ras->ready_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1031:23: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1031 | ras->overwritten_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:7859: src/shared/libshared_mainloop_la-rap.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4172: all] Error 2
##############################
Test: ScanBuild - FAIL
Desc: Run Scan Build
Output:

src/shared/gatt-client.c:447:21: warning: Use of memory after it is freed
gatt_db_unregister(op->client->db, op->db_id);
^~~~~~~~~~
src/shared/gatt-client.c:692:2: warning: Use of memory after it is freed
discovery_op_complete(op, false, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:992:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1098:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1292:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1357:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1632:6: warning: Use of memory after it is freed
if (read_db_hash(op)) {
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1637:2: warning: Use of memory after it is freed
discover_all(op);
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1693:56: warning: Use of memory after it is freed
notify_data->chrc->ccc_write_id = notify_data->att_id = att_id;
~~~~~~~~~~~~~~~~~~~ ^
src/shared/gatt-client.c:2146:6: warning: Use of memory after it is freed
if (read_db_hash(op)) {
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:2154:8: warning: Use of memory after it is freed
discovery_op_ref(op),
^~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:3332:2: warning: Use of memory after it is freed
complete_write_long_op(req, success, 0, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:3354:2: warning: Use of memory after it is freed
request_unref(req);
^~~~~~~~~~~~~~~~~~
13 warnings generated.
src/shared/rap.c: In function ‘register_ras_service’:
src/shared/rap.c:968:3: error: implicit declaration of function ‘gatt_db_service_add_ccc_custom’; did you mean ‘gatt_db_service_add_ccc’? [-Werror=implicit-function-declaration]
968 | gatt_db_service_add_ccc_custom(ras->svc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gatt_db_service_add_ccc
src/shared/rap.c:967:25: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
967 | ras->realtime_chrc_ccc =
| ^
src/shared/rap.c:983:20: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
983 | ras->ondemand_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:999:14: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
999 | ras->cp_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1015:17: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1015 | ras->ready_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
src/shared/rap.c:1031:23: error: assignment to ‘struct gatt_db_attribute *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
1031 | ras->overwritten_ccc = gatt_db_service_add_ccc_custom(ras->svc,
| ^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:7859: src/shared/libshared_mainloop_la-rap.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
src/shared/bap.c:1529:8: warning: Use of memory after it is freed
bap = bt_bap_ref_safe(bap);
^~~~~~~~~~~~~~~~~~~~
src/shared/bap.c:2340:20: warning: Use of memory after it is freed
return queue_find(stream->bap->streams, NULL, stream);
^~~~~~~~~~~~~~~~~~~~
2 warnings generated.
make: *** [Makefile:4172: all] Error 2