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 3206587a20 ("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
This commit is contained in:
Ed Maste 2025-06-03 10:09:57 -04:00
parent 9cac735186
commit e578e6507c

View file

@ -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