From: Ilan Peer Date: Wed, 5 Feb 2025 09:39:11 +0000 (+0200) Subject: wifi: cfg80211: Fix trace print for removed links X-Git-Tag: io_uring-6.15-20250403~82^2~184^2~57 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=31320ccb09a06df35d1cd1fe2531c55fe983ca19;p=linux-2.6-block.git wifi: cfg80211: Fix trace print for removed links Print the mask of removed links in hexadecimal. Signed-off-by: Ilan Peer Reviewed-by: Johannes Berg Signed-off-by: Miri Korenblit Link: https://patch.msgid.link/20250205110958.1dd2831cab5f.Ib9f5e82286f0352cd057b4bf76737223e9de8274@changeid Signed-off-by: Johannes Berg --- diff --git a/net/wireless/trace.h b/net/wireless/trace.h index 4f0abd5d49df..9aa8081ca454 100644 --- a/net/wireless/trace.h +++ b/net/wireless/trace.h @@ -4118,7 +4118,7 @@ TRACE_EVENT(cfg80211_links_removed, NETDEV_ASSIGN; __entry->link_mask = link_mask; ), - TP_printk(NETDEV_PR_FMT ", link_mask:%u", NETDEV_PR_ARG, + TP_printk(NETDEV_PR_FMT ", link_mask:0x%x", NETDEV_PR_ARG, __entry->link_mask) );