mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class
[ Upstream commit 9ef369973c
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ea2121cdc7
commit
125c0dcc00
1 changed files with 2 additions and 2 deletions
|
@ -1747,7 +1747,7 @@ TRACE_EVENT(rdev_return_void_tx_rx,
|
||||||
|
|
||||||
DECLARE_EVENT_CLASS(tx_rx_evt,
|
DECLARE_EVENT_CLASS(tx_rx_evt,
|
||||||
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
|
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
|
||||||
TP_ARGS(wiphy, rx, tx),
|
TP_ARGS(wiphy, tx, rx),
|
||||||
TP_STRUCT__entry(
|
TP_STRUCT__entry(
|
||||||
WIPHY_ENTRY
|
WIPHY_ENTRY
|
||||||
__field(u32, tx)
|
__field(u32, tx)
|
||||||
|
@ -1764,7 +1764,7 @@ DECLARE_EVENT_CLASS(tx_rx_evt,
|
||||||
|
|
||||||
DEFINE_EVENT(tx_rx_evt, rdev_set_antenna,
|
DEFINE_EVENT(tx_rx_evt, rdev_set_antenna,
|
||||||
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
|
TP_PROTO(struct wiphy *wiphy, u32 tx, u32 rx),
|
||||||
TP_ARGS(wiphy, rx, tx)
|
TP_ARGS(wiphy, tx, rx)
|
||||||
);
|
);
|
||||||
|
|
||||||
DECLARE_EVENT_CLASS(wiphy_netdev_id_evt,
|
DECLARE_EVENT_CLASS(wiphy_netdev_id_evt,
|
||||||
|
|
Loading…
Reference in a new issue