Bluetooth: Remove unnecessary braces around single line statement
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Bluetooth: Remove unnecessary braces around single line statement
From: Jeremy Clifton <[email protected]>
Warning found with checkpatch.pl script. Remove unnecessary braces.
--- drivers/bluetooth/bfusb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/bluetooth/bfusb.c +1 -2
@@ -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);
Signature · 1 line
2.43.0
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
On Mon, Jan 27, 2025 at 02:31:06PM -0800, [email protected] wrote:
CCing Markus Elfring, your esmpt server kicked back the message.
Jeremy
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
Luiz Augusto von Dentz
maintainerHi Jeremy,
Quoted 7 lines · Jeremy Dean
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.
Quoted 2 lines
Jeremy
Signature · 1 line
Luiz Augusto von Dentz
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Mon, 27 Jan 2025 23:10:37 +0100 you wrote:
From: Jeremy Clifton <[email protected]>
Warning found with checkpatch.pl script. Remove unnecessary braces.
Signed-off-by Jeremy Clifton <[email protected]>--- drivers/bluetooth/bfusb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Here is the summary with links:
- Bluetooth: Remove unnecessary braces around single line statement
https://git.kernel.org/bluetooth/bluetooth-next/c/a2a245849af8
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html