diff options
| author | Alexei Starovoitov <[email protected]> | 2018-03-28 19:05:35 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-03-28 20:55:19 +0000 |
| commit | 4fe43c2c00349557fdf4e6d61a67ebbe670412b8 (patch) | |
| tree | 869e5404d95fa6557eedea8543212aaad1a53114 /drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c | |
| parent | net/mac802154: disambiguate mac80215 vs mac802154 trace events (diff) | |
| download | kernel-4fe43c2c00349557fdf4e6d61a67ebbe670412b8.tar.gz kernel-4fe43c2c00349557fdf4e6d61a67ebbe670412b8.zip | |
net/wireless/iwlwifi: fix iwlwifi_dev_ucode_error tracepoint
fix iwlwifi_dev_ucode_error tracepoint to pass pointer to a table
instead of all 17 arguments by value.
dvm/main.c and mvm/utils.c have 'struct iwl_error_event_table'
defined with very similar yet subtly different fields and offsets.
tracepoint is still common and using definition of 'struct iwl_error_event_table'
from dvm/commands.h while copying fields.
Long term this tracepoint probably should be split into two.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c b/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c index 50510fb6ab8c..6aa719865a58 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c @@ -30,6 +30,7 @@ #ifndef __CHECKER__ #include "iwl-trans.h" +#include "dvm/commands.h" #define CREATE_TRACE_POINTS #include "iwl-devtrace.h" |
