Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2025 18:46:00 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e578e6507c00 - main - linuxkpi: Improve LKPI_80211_TRACE_MO message
Message-ID:  <202506031846.553Ik0KT019226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=e578e6507c005a883354cc14837eb2e6e3f653d1

commit e578e6507c005a883354cc14837eb2e6e3f653d1
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-06-03 14:09:57 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-06-03 18:45:35 +0000

    linuxkpi: Improve LKPI_80211_TRACE_MO message
    
    The message used to have a prefix of the function and line, followed by
    `:_` and the supplied message.  Commit 3206587a20de ("LinuxKPI: 802.11:
    improve scan handling") changed the prefix to add the CPU, tid, and
    ticks.  `_` and the caller-supplied message were joined to the ticks
    value, resulting in a somewhat odd message.  Instead use `: ` to
    separate them.
    
    Reviewed by:    bz
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D50667
---
 sys/compat/linuxkpi/common/src/linux_80211_macops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211_macops.c b/sys/compat/linuxkpi/common/src/linux_80211_macops.c
index b7e232da48b0..78b2120f2d8c 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211_macops.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211_macops.c
@@ -40,7 +40,7 @@
 #ifdef LINUXKPI_DEBUG_80211
 #define	LKPI_80211_TRACE_MO(fmt, ...)					\
     if (linuxkpi_debug_80211 & D80211_TRACE_MO)				\
-	printf("LKPI_80211_TRACE_MO %s:%d: %d %d %lu_" fmt "\n",	\
+	printf("LKPI_80211_TRACE_MO %s:%d: %d %d %lu: " fmt "\n",	\
 	    __func__, __LINE__, curcpu, curthread->td_tid,		\
 	    jiffies, __VA_ARGS__)
 #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506031846.553Ik0KT019226>