* [PATCH] drivers: bluetooth: fix uninitialized scalar variable
@ 2026-04-25 16:38 Alonso Garrigues
2026-04-25 17:25 ` bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Alonso Garrigues @ 2026-04-25 16:38 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz, linux-bluetooth,
linux-kernel
There is a path where the variable is read uninitialized,
in case RTL_PATCH_SECURITY_HEADER and !key_id
Signed-off-by: Alonso Garrigues <agarrigues@riseup.net>
---
drivers/bluetooth/btrtl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index 62f9d4df3a4f..aa0d5af26b5f 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -543,7 +543,7 @@ static int rtlbt_parse_firmware_v2(struct hci_dev *hdev,
unsigned char **_buf)
{
struct rtl_epatch_header_v2 *hdr;
- int rc;
+ int rc = 0;
u8 key_id;
u32 num_sections;
struct rtl_section *section;
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: drivers: bluetooth: fix uninitialized scalar variable
2026-04-25 16:38 [PATCH] drivers: bluetooth: fix uninitialized scalar variable Alonso Garrigues
@ 2026-04-25 17:25 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-04-25 17:25 UTC (permalink / raw)
To: linux-bluetooth, agarrigues
[-- Attachment #1: Type: text/plain, Size: 1057 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.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1085521
---Test result---
Test Summary:
CheckPatch PASS 0.57 seconds
GitLint PASS 0.25 seconds
SubjectPrefix FAIL 0.08 seconds
BuildKernel PASS 27.12 seconds
CheckAllWarning PASS 29.39 seconds
CheckSparse PASS 28.56 seconds
BuildKernel32 PASS 26.28 seconds
TestRunnerSetup PASS 567.61 seconds
IncrementalBuild PASS 24.54 seconds
Details
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
https://github.com/bluez/bluetooth-next/pull/125
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-25 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 16:38 [PATCH] drivers: bluetooth: fix uninitialized scalar variable Alonso Garrigues
2026-04-25 17:25 ` bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox