Skip to contentSkip to conversation

src/log.h: Add line number information to log output.

PATCH In review [email protected] 2 participants 2 messages Apr 3 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 src/log.h: Add line number information to log output.

From: caitao <[email protected]>

---
 src/log.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
src/log.h +3 -3
index 1ed742a0d..14b54194e 100644
@@ -57,8 +57,8 @@ void __btd_enable_debug(struct btd_debug_desc *start,
 } while (0)
 
 #define DBG(fmt, arg...) \
-	DBG_IDX(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+	DBG_IDX(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
 #define error(fmt, arg...) \
-	btd_error(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+	btd_error(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
 #define warn(fmt, arg...) \
-	btd_warn(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg)
+	btd_warn(0xffff, "%s:%s():%u " fmt, __FILE__, __func__, __LINE__, ## arg)
Signature · 1 line
2.43.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=1076781

---Test result---

Test Summary:

CheckPatch                    PENDING   0.28 seconds
GitLint                       PENDING   0.31 seconds
BuildEll                      PASS      19.82 seconds
BluezMake                     PASS      631.60 seconds
MakeCheck                     PASS      18.21 seconds
MakeDistcheck                 PASS      242.16 seconds
CheckValgrind                 PASS      287.18 seconds
CheckSmatch                   PASS      342.69 seconds
bluezmakeextell               PASS      185.03 seconds
IncrementalBuild              PENDING   0.30 seconds
ScanBuild                     PASS      991.52 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

https://github.com/bluez/bluez/pull/2006/checks

---
Regards,
Linux Bluetooth