From: bluez.test.bot@gmail.com
To: linux-bluetooth@vger.kernel.org, ye.he@amlogic.com
Subject: RE: [bluez] shared/gatt-db: Add read offset to record the progress of att read blob request
Date: Tue, 27 May 2025 00:22:51 -0700 (PDT) [thread overview]
Message-ID: <6835684b.170a0220.144b81.de69@mx.google.com> (raw)
In-Reply-To: <20250527-att-read-blob-rsp-err-v1-1-75d3bc498862@amlogic.com>
[-- Attachment #1: Type: text/plain, Size: 12923 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=966564
---Test result---
Test Summary:
CheckPatch PENDING 0.31 seconds
GitLint PENDING 0.30 seconds
BuildEll PASS 20.10 seconds
BluezMake FAIL 13.23 seconds
MakeCheck FAIL 28.23 seconds
MakeDistcheck FAIL 35.28 seconds
CheckValgrind FAIL 11.89 seconds
CheckSmatch FAIL 18.90 seconds
bluezmakeextell FAIL 11.72 seconds
IncrementalBuild PENDING 0.33 seconds
ScanBuild FAIL 22.42 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: BluezMake - FAIL
Desc: Build BlueZ
Output:
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4691: all] Error 2
##############################
Test: MakeCheck - FAIL
Desc: Run Bluez Make Check
Output:
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8377: src/shared/libshared_glib_la-gatt-db.lo] Error 1
make: *** [Makefile:12346: check] Error 2
##############################
Test: MakeDistcheck - FAIL
Desc: Run Bluez Make Distcheck
Output:
Package cups was not found in the pkg-config search path.
Perhaps you should add the directory containing `cups.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cups' found
../../src/shared/gatt-db.c: In function ‘pending_read_result’:
../../src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
../../src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
../../src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
../../src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[2]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:4691: all] Error 2
make: *** [Makefile:12267: distcheck] Error 1
##############################
Test: CheckValgrind - FAIL
Desc: Run Bluez Make Check with Valgrind
Output:
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:12346: check] Error 2
##############################
Test: CheckSmatch - FAIL
Desc: Run smatch tool with source
Output:
src/shared/crypto.c:271:21: warning: Variable length array is used.
src/shared/crypto.c:272:23: warning: Variable length array is used.
src/shared/gatt-helpers.c:768:31: warning: Variable length array is used.
src/shared/gatt-helpers.c:830:31: warning: Variable length array is used.
src/shared/gatt-helpers.c:1323:31: warning: Variable length array is used.
src/shared/gatt-helpers.c:1354:23: warning: Variable length array is used.
src/shared/gatt-server.c:278:25: warning: Variable length array is used.
src/shared/gatt-server.c:618:25: warning: Variable length array is used.
src/shared/gatt-server.c:716:25: warning: Variable length array is used.
src/shared/bap.c:315:25: warning: array of flexible structures
src/shared/bap.c: note: in included file:
./src/shared/ascs.h:88:25: warning: array of flexible structures
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4691: all] Error 2
##############################
Test: bluezmakeextell - FAIL
Desc: Build Bluez with External ELL
Output:
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:4691: all] Error 2
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
##############################
Test: ScanBuild - FAIL
Desc: Run Scan Build
Output:
src/shared/gatt-db.c: In function ‘pending_read_result’:
src/shared/gatt-db.c:155:44: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
155 | p->func(p->attrib, err, data + p->attrib->read_offset,
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c:156:24: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
156 | length - p->attrib->read_offset, p->user_data);
| ^~~~~~~~~~~
| read_offet
src/shared/gatt-db.c: In function ‘gatt_db_attribute_read’:
src/shared/gatt-db.c:2131:10: error: ‘struct gatt_db_attribute’ has no member named ‘read_offset’; did you mean ‘read_offet’?
2131 | attrib->read_offset = offset;
| ^~~~~~~~~~~
| read_offet
make[1]: *** [Makefile:8622: src/shared/libshared_mainloop_la-gatt-db.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
src/shared/gatt-client.c:451:21: warning: Use of memory after it is freed
gatt_db_unregister(op->client->db, op->db_id);
^~~~~~~~~~
src/shared/gatt-client.c:696:2: warning: Use of memory after it is freed
discovery_op_complete(op, false, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:996:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1102:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1296:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1361:2: warning: Use of memory after it is freed
discovery_op_complete(op, success, att_ecode);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1636:6: warning: Use of memory after it is freed
if (read_db_hash(op)) {
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:1641:2: warning: Use of memory after it is freed
discover_all(op);
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:2147:6: warning: Use of memory after it is freed
if (read_db_hash(op)) {
^~~~~~~~~~~~~~~~
src/shared/gatt-client.c:2155:8: warning: Use of memory after it is freed
discovery_op_ref(op),
^~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:3244:2: warning: Use of memory after it is freed
complete_write_long_op(req, success, 0, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/shared/gatt-client.c:3266:2: warning: Use of memory after it is freed
request_unref(req);
^~~~~~~~~~~~~~~~~~
12 warnings generated.
make: *** [Makefile:4691: all] Error 2
---
Regards,
Linux Bluetooth
prev parent reply other threads:[~2025-05-27 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 7:12 [PATCH bluez] shared/gatt-db: Add read offset to record the progress of att read blob request Ye He via B4 Relay
2025-05-27 7:22 ` bluez.test.bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6835684b.170a0220.144b81.de69@mx.google.com \
--to=bluez.test.bot@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=ye.he@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox