diff mbox series

Bluetooth: Remove unnecessary braces around single line statement

Message ID 20250127221052.197899-2-deaner92@yahoo.com
State New
Headers show
Series Bluetooth: Remove unnecessary braces around single line statement | expand

Commit Message

Jeremy Dean Jan. 27, 2025, 10:10 p.m. UTC
From: Jeremy Clifton <deaner92@yahoo.com>

Warning found with checkpatch.pl script. Remove unnecessary braces.

Signed-off-by: Jeremy Clifton <deaner92@yahoo.com>
---
 drivers/bluetooth/bfusb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

bluez.test.bot@gmail.com Jan. 27, 2025, 10:31 p.m. UTC | #1
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=928654

---Test result---

Test Summary:
CheckPatch                    PENDING   0.37 seconds
GitLint                       PENDING   0.24 seconds
SubjectPrefix                 PASS      0.10 seconds
BuildKernel                   PASS      24.21 seconds
CheckAllWarning               PASS      27.14 seconds
CheckSparse                   PASS      30.24 seconds
BuildKernel32                 PASS      27.66 seconds
TestRunnerSetup               PASS      424.07 seconds
TestRunner_l2cap-tester       PASS      20.29 seconds
TestRunner_iso-tester         PASS      27.05 seconds
TestRunner_bnep-tester        PASS      4.75 seconds
TestRunner_mgmt-tester        FAIL      121.36 seconds
TestRunner_rfcomm-tester      PASS      7.54 seconds
TestRunner_sco-tester         PASS      9.38 seconds
TestRunner_ioctl-tester       PASS      14.45 seconds
TestRunner_mesh-tester        PASS      5.93 seconds
TestRunner_smp-tester         PASS      6.93 seconds
TestRunner_userchan-tester    PASS      4.92 seconds
IncrementalBuild              PENDING   0.51 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 483 (98.6%), Failed: 3, Not Run: 4

Failed Test Cases
LL Privacy - Add Device 3 (AL is full)               Failed       0.186 seconds
LL Privacy - Set Flags 1 (Add to RL)                 Failed       0.148 seconds
LL Privacy - Start Discovery 2 (Disable RL)          Failed       0.165 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth
Jeremy Dean Jan. 28, 2025, 6:30 a.m. UTC | #2
It looks like this is failing a test case at
tedd_an/TestRunner_mgmt-tester.

Is this test failing because of the test itself?
How can test or description of the test be obtained so that 
the necessary modifications can be made?

Jeremy
Jeremy Dean Jan. 28, 2025, 7:45 p.m. UTC | #3
On Mon, Jan 27, 2025 at 02:31:06PM -0800, bluez.test.bot@gmail.com wrote:

CCing Markus Elfring, your esmpt server kicked back the message.

Jeremy
Luiz Augusto von Dentz Jan. 28, 2025, 8:20 p.m. UTC | #4
Hi Jeremy,

On Tue, Jan 28, 2025 at 1:30 AM Jeremy Dean <deaner92@yahoo.com> wrote:
>
> It looks like this is failing a test case at
> tedd_an/TestRunner_mgmt-tester.
>
> Is this test failing because of the test itself?
> How can test or description of the test be obtained so that
> the necessary modifications can be made?

That is some race with mgmt-tester it seems, not related to the
problem, that said you didn't include the output of checkpatch.pl that
you are trying to fix. You can use git commit --amend and git
format-patch -v2 + git send-email to send the v2.

> Jeremy
>
diff mbox series

Patch

diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index cab93935cc7f..0d6ad50da046 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -365,9 +365,8 @@  static void bfusb_rx_complete(struct urb *urb)
 			buf   += 3;
 		}
 
-		if (count < len) {
+		if (count < len)
 			bt_dev_err(data->hdev, "block extends over URB buffer ranges");
-		}
 
 		if ((hdr & 0xe1) == 0xc1)
 			bfusb_recv_block(data, hdr, buf, len);