Explorar el Código

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
Dhanashri Atre hace 8 años
padre
commit
e08ba71363
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/dp/htt/htt_rx.c

+ 1 - 1
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__);