From f90dff9449c7b8a7539bdef65a85fb2e3b83a391 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Wed, 24 Jun 2020 11:43:43 +0530 Subject: [PATCH] qcacmn: Fix compilation issue due to uninitialized variables After enabling FISA, getting compilation issue in WHUNT due to -Werror=maybe-uninitialized. Fix this issue by initializing the uninitialized variables. Change-Id: I4bdb76ba445630fb09df440f587291f0c3e382ec CRs-Fixed: 2717632 --- hal/wifi3.0/hal_rx_flow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hal/wifi3.0/hal_rx_flow.c b/hal/wifi3.0/hal_rx_flow.c index 0bd0de4cdc..1958854689 100644 --- a/hal/wifi3.0/hal_rx_flow.c +++ b/hal/wifi3.0/hal_rx_flow.c @@ -469,8 +469,8 @@ hal_rx_insert_flow_entry(struct hal_rx_fst *fst, uint32_t flow_hash, void *flow_tuple_info, uint32_t *flow_idx) { int i; - void *hal_fse; - uint32_t hal_hash; + void *hal_fse = NULL; + uint32_t hal_hash = 0; struct hal_flow_tuple_info hal_tuple_info = { 0 }; QDF_STATUS status; @@ -518,8 +518,8 @@ hal_rx_find_flow_from_tuple(struct hal_rx_fst *fst, uint32_t flow_hash, void *flow_tuple_info, uint32_t *flow_idx) { int i; - void *hal_fse; - uint32_t hal_hash; + void *hal_fse = NULL; + uint32_t hal_hash = 0; struct hal_flow_tuple_info hal_tuple_info = { 0 }; QDF_STATUS status;