From: bluez.test.bot@gmail.com
To: linux-bluetooth@vger.kernel.org, michaelfsun@google.com
Subject: RE: [bluez,v2,2/3] btmgmt: Add command "remove" into "monitor" btmgmt submenu
Date: Tue, 16 Jun 2020 23:37:28 -0700 (PDT) [thread overview]
Message-ID: <5ee9ba28.1c69fb81.d10b0.a845@mx.google.com> (raw)
In-Reply-To: <20200616232642.bluez.v2.2.I6847f3a5339713811d88b3a234e6454e11f0f042@changeid>
[-- Attachment #1: Type: text/plain, Size: 1078 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:
checkpatch Failed
Outputs:
WARNING:SSCANF_TO_KSTRTO: Prefer kstrto<type> to single variable sscanf
#72: FILE: tools/btmgmt.c:4685:
+ if (sscanf(argv[1], "%hx", &monitor_handle) != 1) {
+ error("Wrong formatted handle argument");
+ return bt_shell_noninteractive_quit(EXIT_FAILURE);
+ }
- total: 0 errors, 1 warnings, 79 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.
Your patch has style problems, please review.
NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPLIT_STRING
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
---
Regards,
Linux Bluetooth
next prev parent reply other threads:[~2020-06-17 6:37 UTC|newest]
Thread overview: 7+ 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 ` Add new commands in btmgmt to support adv monitor bluez.test.bot
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.test.bot [this message]
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
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=5ee9ba28.1c69fb81.d10b0.a845@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).