From e3d4d25f628500fc744eb0c45c08af4bbfbcda88 Mon Sep 17 00:00:00 2001 From: Pramod Simha Date: Thu, 6 Sep 2018 11:24:21 -0700 Subject: [PATCH] qcacmn: Initialize local variable Initialize local variable to zero to prevent compilation warning for KASAN enabled builds. Change-Id: I22a6115800ea31e0fe0c86204722664355b53947 CRs-Fixed: 2310542 --- dp/wifi3.0/dp_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 529d76cc5dc8..af5b95e441b9 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -2858,7 +2858,7 @@ static inline void dp_tx_sojourn_stats_process(struct dp_pdev *pdev, static inline void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc, uint32_t length) { - struct hal_tx_completion_status ts; + struct hal_tx_completion_status ts = {0}; struct dp_soc *soc = NULL; struct dp_vdev *vdev = tx_desc->vdev; struct dp_peer *peer = NULL;