From e08ba71363dc713fc0a200c14257a0279f342e5a Mon Sep 17 00:00:00 2001 From: Dhanashri Atre Date: Mon, 8 May 2017 12:53:38 -0700 Subject: [PATCH] qcacld-3.0: Do not typecast physical address to 32 bits Do not typecast the physical address passed to hash list to 32 bits. The physical address maybe greater than 32 bits which will lead to a mismatch during look-up. Change-Id: I095e1e63c59da74bc8a2507273e7c6487d0b19e7 CRs-Fixed: 2044161 --- core/dp/htt/htt_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c index a2ae5086e977..48b60cae803c 100644 --- a/core/dp/htt/htt_rx.c +++ b/core/dp/htt/htt_rx.c @@ -506,7 +506,7 @@ moretofill: paddr = htt_rx_paddr_mark_high_bits(paddr); if (pdev->cfg.is_full_reorder_offload) { if (qdf_unlikely(htt_rx_hash_list_insert( - pdev, (uint32_t)paddr, rx_netbuf))) { + pdev, paddr, rx_netbuf))) { QDF_TRACE(QDF_MODULE_ID_HTT, QDF_TRACE_LEVEL_ERROR, "%s: hash insert failed!", __func__);