From: bluez.test.bot@gmail.com
To: linux-bluetooth@vger.kernel.org, michaelfsun@google.com
Subject: RE: Add new commands in btmgmt to support adv monitor
Date: Tue, 16 Jun 2020 23:38:56 -0700 (PDT) [thread overview]
Message-ID: <5ee9ba80.1c69fb81.4de5c.46b6@mx.google.com> (raw)
In-Reply-To: <20200616232642.bluez.v2.1.Id1b811687f1245eca676a6c5fae4fd13a70c7732@changeid>
[-- Attachment #1: Type: text/plain, Size: 1962 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.
While we are preparing for reviewing the patches, we found the following
issue/warning.
Test Result:
checkbuild Failed
Outputs:
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
ar: `u' modifier ignored since `D' is the default (see `U')
tools/btmgmt.c: In function ‘advmon_features2str’:
tools/btmgmt.c:4608:16: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare]
4608 | for (i = 0; i < NELEM(advmon_features_str); i++) {
| ^
tools/btmgmt.c:4609:41: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Werror=sign-compare]
4609 | if ((features & (1 << i)) != 0 && off < sizeof(str))
| ^
tools/btmgmt.c: In function ‘str2pattern’:
tools/btmgmt.c:4691:44: error: unused variable ‘length’ [-Werror=unused-variable]
4691 | int type_len, offset_len, offset_end_pos, length, str_len;
| ^~~~~~
tools/btmgmt.c: In function ‘cmd_advmon_add’:
tools/btmgmt.c:4744:11: error: unused variable ‘i’ [-Werror=unused-variable]
4744 | int opt, i;
| ^
tools/btmgmt.c:4745:39: error: ‘cp_len’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
4745 | int pattern_count = 0, patterns_len, cp_len;
| ^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:6791: tools/btmgmt.o] Error 1
make: *** [Makefile:4010: all] Error 2
---
Regards,
Linux Bluetooth
next prev parent reply other threads:[~2020-06-17 6:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-17 6:26 [bluez PATCH v2 0/3] Add new commands in btmgmt to support adv monitor Michael Sun
2020-06-17 6:26 ` [bluez PATCH v2 1/3] btmgmt: Add "monitor" btmgmt submenu and command "features" Michael Sun
2020-06-17 6:38 ` bluez.test.bot [this message]
2020-06-17 6:26 ` [bluez PATCH v2 2/3] btmgmt: Add command "remove" into "monitor" btmgmt submenu Michael Sun
2020-06-17 6:37 ` [bluez,v2,2/3] " bluez.test.bot
2020-06-17 6:26 ` [bluez PATCH v2 3/3] btmgmt: Add command "add" " Michael Sun
2020-06-17 6:37 ` [bluez,v2,3/3] " bluez.test.bot
-- strict thread matches above, loose matches on Subject: below --
2020-06-16 0:03 [bluez PATCH v1 1/3] btmgmt: Add btmgmt command advmon-features Michael Sun
2020-06-16 0:13 ` Add new commands in btmgmt to support adv monitor bluez.test.bot
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=5ee9ba80.1c69fb81.4de5c.46b6@mx.google.com \
--to=bluez.test.bot@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=michaelfsun@google.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;
as well as URLs for NNTP newsgroup(s).