Bluetooth: hci_uart: Remove unnecessary NULL check before release_firmware()
Subsystems (2)
PATCH 1/1 Bluetooth: hci_uart: Remove unnecessary NULL check before release_firmware()
release_firmware() checks for NULL pointers internally. Remove unneeded NULL check for fmw here.
--- drivers/bluetooth/hci_aml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/bluetooth/hci_aml.c +1 -2
@@ -313,8 +313,7 @@ static int aml_download_firmware(struct hci_dev *hdev, const char *fw_name) goto exit; exit: -if (firmware) -release_firmware (firmware); +release_firmware (firmware);return ret; }
Signature · 1 line
2.25.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=951891
---Test result---
Test Summary:
CheckPatch PENDING 0.33 seconds GitLint PENDING 0.32 seconds SubjectPrefix PASS 0.08 seconds BuildKernel PASS 24.23 seconds CheckAllWarning PASS 26.49 seconds CheckSparse PASS 29.90 seconds BuildKernel32 PASS 23.76 seconds TestRunnerSetup PASS 458.32 seconds TestRunner_l2cap-tester PASS 21.04 seconds TestRunner_iso-tester PASS 34.61 seconds TestRunner_bnep-tester PASS 4.66 seconds TestRunner_mgmt-tester FAIL 119.21 seconds TestRunner_rfcomm-tester PASS 8.58 seconds TestRunner_sco-tester PASS 13.70 seconds TestRunner_ioctl-tester PASS 9.06 seconds TestRunner_mesh-tester PASS 6.02 seconds TestRunner_smp-tester PASS 8.14 seconds TestRunner_userchan-tester PASS 4.90 seconds IncrementalBuild PENDING 0.54 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: 485 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
LL Privacy - Add Device 3 (AL is full) Failed 0.200 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth
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 7 lines · On Thu, 10 Apr 2025 15:34:56 +0800 you wrote:
release_firmware()checks for NULL pointers internally. Remove unneeded NULL check for fmw here.Signed-off-by Chen Ni <[email protected]>--- drivers/bluetooth/hci_aml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Here is the summary with links:
- Bluetooth: hci_uart: Remove unnecessary NULL check before release_firmware()
https://git.kernel.org/bluetooth/bluetooth-next/c/b53b259e34e4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html