aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-06 16:30:48 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-03-07 13:51:52 -0500
commit6c1011e1918be17f7f8ccca5442cd517f9c29d17 (patch)
tree76bfc3b2e26e06cddff019115174448c3c26414e /drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
parent84abd2cc066fc077c424d0faf7618be348a7efb2 (diff)
iwlwifi: make tracing use device as identifier
Tracing used the priv pointer as an identifier, which has the problem that we don't have it in all code, and also some people say no pointers should be "leaked" to userspace. Use the device name instead, it is more useful anyway. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
index 2573f7149f16..844606b436ed 100644
--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
@@ -820,7 +820,7 @@ static int iwl_enqueue_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd)
820 /* check that tracing gets all possible blocks */ 820 /* check that tracing gets all possible blocks */
821 BUILD_BUG_ON(IWL_MAX_CMD_TFDS + 1 != 3); 821 BUILD_BUG_ON(IWL_MAX_CMD_TFDS + 1 != 3);
822#ifdef CONFIG_IWLWIFI_DEVICE_TRACING 822#ifdef CONFIG_IWLWIFI_DEVICE_TRACING
823 trace_iwlwifi_dev_hcmd(priv(trans), cmd->flags, 823 trace_iwlwifi_dev_hcmd(trans->dev, cmd->flags,
824 trace_bufs[0], trace_lens[0], 824 trace_bufs[0], trace_lens[0],
825 trace_bufs[1], trace_lens[1], 825 trace_bufs[1], trace_lens[1],
826 trace_bufs[2], trace_lens[2]); 826 trace_bufs[2], trace_lens[2]);