From cb6aad2d4d3890b546aa1b163f648d1671481a6b Mon Sep 17 00:00:00 2001 From: Chaitanya Pratapa Date: Tue, 24 Nov 2020 11:10:32 -0800 Subject: [PATCH] msm: ipa: fix stats dump Make changes to fix the stats collection. Change-Id: Ib8ea3ca44951186ec472578fd13218bbc8c0120c Signed-off-by: Chaitanya Pratapa --- drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c b/drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c index 6d6f24036568..51e813244211 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c @@ -1356,7 +1356,7 @@ static ssize_t ipa3_read_stats(struct file *file, char __user *ubuf, "lan_rx_empty=%u\n" "lan_repl_rx_empty=%u\n" "flow_enable=%u\n" - "flow_disable=%u\n", + "flow_disable=%u\n" "rx_page_drop_cnt=%u\n", ipa3_ctx->stats.tx_sw_pkts, ipa3_ctx->stats.tx_hw_pkts, @@ -1374,7 +1374,8 @@ static ssize_t ipa3_read_stats(struct file *file, char __user *ubuf, ipa3_ctx->stats.lan_repl_rx_empty, ipa3_ctx->stats.flow_enable, ipa3_ctx->stats.flow_disable, - ipa3_ctx->stats.rx_page_drop_cnt); + ipa3_ctx->stats.rx_page_drop_cnt + ); cnt += nbytes; for (i = 0; i < IPAHAL_PKT_STATUS_EXCEPTION_MAX; i++) {