Skip to contentSkip to conversation

monitor: Fix build error

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages Jul 15 – Jul 16 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 monitor: Fix build error

From: Luiz Augusto von Dentz <[email protected]>

This fixes the following error:

   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
 monitor/packet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
monitor/packet.c +1 -1
index fb053e2b413f..82afef6011d2 100644
@@ -2928,7 +2928,7 @@ static void print_features_subpage(uint8_t page, uint8_t subpages,
 					uint64_t *features,
 					const struct bitfield_data *table)
 {
-	int i, j;
+	uint8_t i, j;
 	char str[18];
 
 	for (i = 0; i < subpages; i++) {
Signature · 1 line
2.54.0
#1 lore raw

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=1128302

---Test result---

Test Summary:

CheckPatch                    PASS      0.29 seconds
GitLint                       PASS      0.22 seconds
BuildEll                      PASS      23.28 seconds
BluezMake                     PASS      559.43 seconds
MakeCheck                     PASS      6.01 seconds
MakeDistcheck                 PASS      158.55 seconds
CheckValgrind                 PASS      155.22 seconds
CheckSmatch                   WARNING   314.99 seconds
bluezmakeextell               PASS      104.04 seconds
IncrementalBuild              PASS      544.50 seconds
ScanBuild                     PASS      975.25 seconds

Details
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:
monitor/packet.c:2002:26: warning: Variable length array is used.monitor/packet.c: note: in included file:monitor/bt.h:3924:52: warning: array of flexible structuresmonitor/bt.h:3912:40: warning: array of flexible structures

https://github.com/bluez/bluez/pull/2317

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 10 lines · On Wed, 15 Jul 2026 13:07:47 -0400 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

This fixes the following error:

   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[...]

Here is the summary with links:
- [BlueZ,v1] monitor: Fix build error

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=ae5d5a1e3032

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html