qcacmn: Fix compilation warnings on x86

Fix the compilation warnings on x86.

Change-Id: Ic9edafc5b33462f5c96faa391e6441141aa09837
CRs-Fixed: 3591586
This commit is contained in:
Gururaj Pandurangi
2022-10-31 17:40:52 -07:00
committad av Rahul Choudhary
förälder c73beace9b
incheckning 0b84f05679
5 ändrade filer med 7 tillägg och 7 borttagningar

Visa fil

@@ -1966,7 +1966,7 @@ hal_get_tsf_time_kiwi(hal_soc_handle_t hal_soc_hdl, uint32_t tsf_id,
uint64_t global_time_low_offset, global_time_high_offset; uint64_t global_time_low_offset, global_time_high_offset;
uint64_t tsf_offset_low, tsf_offset_hi; uint64_t tsf_offset_low, tsf_offset_hi;
uint64_t fw_time, global_time, sync_time; uint64_t fw_time, global_time, sync_time;
enum hal_scratch_reg_enum tsf_enum_low, tsf_enum_high; enum hal_scratch_reg_enum tsf_enum_low = 0, tsf_enum_high = 0;
if (hif_force_wake_request(soc->hif_handle)) if (hif_force_wake_request(soc->hif_handle))
return; return;

Visa fil

@@ -2308,8 +2308,8 @@ static struct hif_ce_desc_event *
{ {
struct ce_desc_hist *ce_hist = &scn->hif_ce_desc_hist; struct ce_desc_hist *ce_hist = &scn->hif_ce_desc_hist;
hif_debug("get ce debug buffer ce_id %u, only_ce2/ce3=%lu, idx=%u", hif_debug("get ce debug buffer ce_id %u, only_ce2/ce3=0x%lx, idx=%u",
ce_id, (unsigned long)IS_CE_DEBUG_ONLY_FOR_CRIT_CE, ce_id, IS_CE_DEBUG_ONLY_FOR_CRIT_CE,
ce_hist->ce_id_hist_map[ce_id]); ce_hist->ce_id_hist_map[ce_id]);
if (IS_CE_DEBUG_ONLY_FOR_CRIT_CE && if (IS_CE_DEBUG_ONLY_FOR_CRIT_CE &&
(ce_id == CE_ID_2 || ce_id == CE_ID_3 || ce_id == CE_ID_7)) { (ce_id == CE_ID_2 || ce_id == CE_ID_3 || ce_id == CE_ID_7)) {

Visa fil

@@ -1,6 +1,6 @@
/* /*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved. * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -162,7 +162,7 @@ static int target_if_green_ap_ll_ps_event(ol_scn_t scn, uint8_t *evt_buf,
else else
ll_ps_param->bcn_mult = 1; ll_ps_param->bcn_mult = 1;
green_ap_debug("Next TSF: %llu Dialog Token: %llu bcn_mult: %u", green_ap_debug("Next TSF: %llu Dialog Token: %u bcn_mult: %u",
ll_ps_param->next_tsf, ll_ps_param->next_tsf,
ll_ps_param->dialog_token, ll_ps_param->dialog_token,
ll_ps_param->bcn_mult); ll_ps_param->bcn_mult);

Visa fil

@@ -38,7 +38,7 @@ QDF_STATUS wlan_mlo_parse_t2lm_info(uint8_t *ie,
enum wlan_t2lm_direction dir; enum wlan_t2lm_direction dir;
uint8_t *t2lm_control_field; uint8_t *t2lm_control_field;
uint16_t t2lm_control; uint16_t t2lm_control;
uint8_t link_mapping_presence_ind; uint8_t link_mapping_presence_ind = 0;
uint8_t *link_mapping_of_tids; uint8_t *link_mapping_of_tids;
uint8_t tid_num; uint8_t tid_num;
uint8_t *ie_ptr = NULL; uint8_t *ie_ptr = NULL;

Visa fil

@@ -18177,7 +18177,7 @@ static QDF_STATUS extract_green_ap_ll_ps_param_tlv(
((uint64_t)ll_ps_event->next_tsf_high32 << 32) | ((uint64_t)ll_ps_event->next_tsf_high32 << 32) |
ll_ps_event->next_tsf_low32; ll_ps_event->next_tsf_low32;
wmi_debug("cookie : %llu next_tsf %llu", ll_ps_params->dialog_token, wmi_debug("cookie : %u next_tsf %llu", ll_ps_params->dialog_token,
ll_ps_params->next_tsf); ll_ps_params->next_tsf);
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;