android_kernel_xiaomi_sm8350/core/dp
Lin Bai dc00fb8fa5 qcacld-3.0: Kernel crash as incorrect DMA buffer size
When HTT attached, driver allocates DMA buffer to record each RX ring
entry, with element size - target_paddr_t, which is bus size, and may be
different from kernel's physical address size.
While in htt_rx_detach, size of qdf_dma_addr_t used for buffer free.
In case kernel built as 64-bit, and bus size as default 32-bit,
it will crash when free.

Use same element size to avoid it.

CRs-Fixed: 2087592
Change-Id: Iabe95f92ea82b736213a8b81453163229b2a3a3b
2017-08-06 11:48:34 -07:00
..
htt qcacld-3.0: Kernel crash as incorrect DMA buffer size 2017-08-06 11:48:34 -07:00
ol/inc qcacld-3.0: Fix clang warnings enum 'qdf_nbuf_l4_rx_cksum_result_t' 2017-08-03 19:49:00 -07:00
txrx qcacld-3.0: Fix invalid tx_desc access 2017-08-05 23:53:28 -07:00