git: 78556119d502 - stable/14 - LinuxKPI: 802.11: consistently spell TRACE-RX: as such

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 28 Sep 2024 10:38:16 UTC
The branch stable/14 has been updated by bz:

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

commit 78556119d502f15de0ea7140e87dd24285f1ffb3
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-06-05 22:31:32 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-09-28 10:35:13 +0000

    LinuxKPI: 802.11: consistently spell TRACE-RX: as such
    
    We have TRACE in one place and TRACE-RX in another.  Spell it
    "TRACE-RX: %s: ..." everywhere.  Helps with pattern matching.
    
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D45818
    
    (cherry picked from commit bd206a6f4a87214ae8c1b32f1051b07362080361)
---
 sys/compat/linuxkpi/common/src/linux_80211.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index ca8db481347e..948d96bd64ac 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -4997,7 +4997,7 @@ lkpi_80211_lhw_rxq_rx_one(struct lkpi_hw *lhw, struct mbuf *m)
 
 #ifdef LINUXKPI_DEBUG_80211
 	if (linuxkpi_debug_80211 & D80211_TRACE_RX)
-		printf("TRACE %s: handled frame type %#0x\n", __func__, ok);
+		printf("TRACE-RX: %s: handled frame type %#0x\n", __func__, ok);
 #endif
 }
 
@@ -5012,8 +5012,8 @@ lkpi_80211_lhw_rxq_task(void *ctx, int pending)
 
 #ifdef LINUXKPI_DEBUG_80211
 	if (linuxkpi_debug_80211 & D80211_TRACE_RX)
-		printf("%s:%d lhw %p pending %d mbuf_qlen %d\n",
-		    __func__, __LINE__, lhw, pending, mbufq_len(&lhw->rxq));
+		printf("TRACE-RX: %s: lhw %p pending %d mbuf_qlen %d\n",
+		    __func__, lhw, pending, mbufq_len(&lhw->rxq));
 #endif
 
 	mbufq_init(&mq, IFQ_MAXLEN);
@@ -5095,7 +5095,7 @@ linuxkpi_ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb,
 
 	/* Implement a dump_rxcb() !!! */
 	if (linuxkpi_debug_80211 & D80211_TRACE_RX)
-		printf("TRACE %s: RXCB: %ju %ju %u, %#0x, %u, %#0x, %#0x, "
+		printf("TRACE-RX: %s: RXCB: %ju %ju %u, %#0x, %u, %#0x, %#0x, "
 		    "%u band %u, %u { %d %d %d %d }, %d, %#x %#x %#x %#x %u %u %u\n",
 			__func__,
 			(uintmax_t)rx_status->boottime_ns,
@@ -5182,7 +5182,7 @@ no_trace_beacons:
 
 #ifdef LINUXKPI_DEBUG_80211
 	if (linuxkpi_debug_80211 & D80211_TRACE_RX)
-		printf("TRACE %s: sta %p lsta %p state %d ni %p vap %p%s\n",
+		printf("TRACE-RX: %s: sta %p lsta %p state %d ni %p vap %p%s\n",
 		    __func__, sta, lsta, (lsta != NULL) ? lsta->state : -1,
 		    ni, vap, is_beacon ? " beacon" : "");
 #endif