Skip to contentSkip to conversation

shared/util: Increase debug trace buffer size

PATCH Applied Frédéric Danis 3 participants 3 messages Oct 19, 2022 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shared/util: Increase debug trace buffer size

Most of the debug traces are longer than 78 characters, increase the buffer to not lost trace's end

---
 src/shared/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/shared/util.c +1 -1
index e1e56459a..0a0308cb0 100644
@@ -65,7 +65,7 @@ void *util_memdup(const void *src, size_t size)
 void util_debug_va(util_debug_func_t function, void *user_data,
 				const char *format, va_list va)
 {
-	char str[78];
+	char str[MAX_INPUT];
 
 	if (!function || !format)
 		return;
Signature · 1 line
2.25.1
#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=686887

---Test result---

Test Summary:

CheckPatch                    PASS      1.04 seconds
GitLint                       PASS      0.69 seconds
Prep - Setup ELL              PASS      27.86 seconds
Build - Prep                  PASS      0.70 seconds
Build - Configure             PASS      8.79 seconds
Build - Make                  PASS      885.94 seconds
Make Check                    PASS      11.96 seconds
Make Check w/Valgrind         PASS      298.50 seconds
Make Distcheck                PASS      247.19 seconds
Build w/ext ELL - Configure   PASS      9.02 seconds
Build w/ext ELL - Make        PASS      88.93 seconds
Incremental Build w/ patches  PASS      0.00 seconds
Scan Build                    PASS      545.81 seconds

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Frédéric Danis
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 5 lines · On Wed, 19 Oct 2022 22:30:28 +0200 you wrote:

Most of the debug traces are longer than 78 characters, increase the buffer to not lost trace's end

---
 src/shared/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [BlueZ] shared/util: Increase debug trace buffer size

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

You are awesome, thank you!

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