|
@@ -646,7 +646,7 @@ void htt_rx_dbg_rxbuf_set(struct htt_pdev_t *pdev, qdf_dma_addr_t paddr,
|
|
|
rx_netbuf->data;
|
|
|
/* pdev->rx_buff_list[pdev->rx_buff_index].in_use = true; */
|
|
|
tmp = pdev->rx_buff_list[pdev->rx_buff_index].nbuf_data;
|
|
|
- tmp = (void *)((uint64_t) tmp | 0x01);
|
|
|
+ tmp = (void *)((uintptr_t) tmp | 0x01);
|
|
|
pdev->rx_buff_list[pdev->rx_buff_index].nbuf_data = tmp;
|
|
|
pdev->rx_buff_list[pdev->rx_buff_index].nbuf = rx_netbuf;
|
|
|
pdev->rx_buff_list[pdev->rx_buff_index].ts =
|
|
@@ -678,7 +678,7 @@ void htt_rx_dbg_rxbuf_reset(struct htt_pdev_t *pdev,
|
|
|
if (index < HTT_RX_RING_BUFF_DBG_LIST) {
|
|
|
/* in_use = false */
|
|
|
tmp = pdev->rx_buff_list[index].nbuf_data;
|
|
|
- tmp = (void *)((uint64_t)tmp & 0xfffffffffffffffe);
|
|
|
+ tmp = (void *)((uintptr_t)tmp & ~((uintptr_t)0x1));
|
|
|
pdev->rx_buff_list[index].nbuf_data = tmp;
|
|
|
pdev->rx_buff_list[index].ts =
|
|
|
qdf_get_log_timestamp();
|