summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVevek Venkatesan <vevekv@codeaurora.org>2020-06-24 17:13:05 +0530
committerVevek Venkatesan <vevekv@codeaurora.org>2020-07-06 13:24:49 +0530
commit9e2c5e35519bcc866db387fa61a0519077d82cff (patch)
tree7362fae9ff23bb3ecef0c90843856460c409e6db
parent7789c4682b931c9e911f934e727ac5d9cb0b6087 (diff)
qcacmn: fix format specifier in qdf_dpt_dump_stats_debugfs
Fix proper format specifier for qdf_debugfs_printf in qdf_dpt_dump_stats_debugfs. Change-Id: I3d357cb677c6419e13c3c2333b43d4cae2f2df41 CRs-Fixed: 2717408
-rw-r--r--qdf/linux/src/qdf_trace.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/qdf/linux/src/qdf_trace.c b/qdf/linux/src/qdf_trace.c
index 0f5f2590ecaf..38ac46b330b5 100644
--- a/qdf/linux/src/qdf_trace.c
+++ b/qdf/linux/src/qdf_trace.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2018,2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -2425,26 +2425,27 @@ QDF_STATUS qdf_dpt_dump_stats_debugfs(qdf_debugfs_file_t file,
break;
case QDF_DP_TRACE_HDD_TX_TIMEOUT:
- qdf_debugfs_printf(file, "DPT: %04d: %s %s\n",
- i, p_record.time,
- qdf_dp_code_to_string(p_record.code));
- qdf_debugfs_printf(file, "%s: HDD TX Timeout\n");
+ qdf_debugfs_printf(
+ file, "DPT: %04d: %llu %s\n",
+ i, p_record.time,
+ qdf_dp_code_to_string(p_record.code));
+ qdf_debugfs_printf(file, "HDD TX Timeout\n");
break;
case QDF_DP_TRACE_HDD_SOFTAP_TX_TIMEOUT:
- qdf_debugfs_printf(file, "%04d: %llu %s\n",
- i, p_record.time,
- qdf_dp_code_to_string(p_record.code));
- qdf_debugfs_printf(file,
- "%s: HDD SoftAP TX Timeout\n");
+ qdf_debugfs_printf(
+ file, "DPT: %04d: %llu %s\n",
+ i, p_record.time,
+ qdf_dp_code_to_string(p_record.code));
+ qdf_debugfs_printf(file, "HDD SoftAP TX Timeout\n");
break;
case QDF_DP_TRACE_CE_FAST_PACKET_ERR_RECORD:
- qdf_debugfs_printf(file, "DPT: %llu: %s %s\n",
- i, p_record.time,
- qdf_dp_code_to_string(p_record.code));
- qdf_debugfs_printf(file,
- "%s: CE Fast Packet Error\n");
+ qdf_debugfs_printf(
+ file, "DPT: %04d: %llu %s\n",
+ i, p_record.time,
+ qdf_dp_code_to_string(p_record.code));
+ qdf_debugfs_printf(file, "CE Fast Packet Error\n");
break;
case QDF_DP_TRACE_MAX: