projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12b977
)
wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class
author
Igor Artemiev
<Igor.A.Artemiev@mcst.ru>
Fri, 5 Apr 2024 15:24:30 +0000
(18:24 +0300)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 8 Apr 2024 18:14:08 +0000
(20:14 +0200)
The declarations of the tx_rx_evt class and the rdev_set_antenna event
use the wrong order of arguments in the TP_ARGS macro.
Fix the order of arguments in the TP_ARGS macro.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Igor Artemiev <Igor.A.Artemiev@mcst.ru>
Link:
https://msgid.link/20240405152431.270267-1-Igor.A.Artemiev@mcst.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/trace.h
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/trace.h
b/net/wireless/trace.h
index cbbf347c6b2e099802b135266ca7fae59bd467f9..df013c98b80dfb0e06a86a78415e51d79cd76693 100644
(file)
--- a/
net/wireless/trace.h
+++ b/
net/wireless/trace.h
@@
-1758,7
+1758,7
@@
TRACE_EVENT(rdev_return_void_tx_rx,
DECLARE_EVENT_CLASS(tx_rx_evt,
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
- TP_ARGS(wiphy,
rx, t
x),
+ TP_ARGS(wiphy,
tx, r
x),
TP_STRUCT__entry(
WIPHY_ENTRY
__field(u32, tx)
@@
-1775,7
+1775,7
@@
DECLARE_EVENT_CLASS(tx_rx_evt,
DEFINE_EVENT(tx_rx_evt, rdev_set_antenna,
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
- TP_ARGS(wiphy,
rx, t
x)
+ TP_ARGS(wiphy,
tx, r
x)
);
DECLARE_EVENT_CLASS(wiphy_netdev_id_evt,