RE: [bluez] shared/gatt-db: Add read offset to record the progress of att read blob request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux