qcacld-3.0: Typecast DMA address properly when printing
Change Icdcfcdd10400aa2fad64441aa863087cc1c3766e use %llx to print qdf_dma_addr_t. While qdf_dma_addr_t defined as 'unsigned long', if without definition from kernel header. Typecast DMA address to 'unsigned long long', before using %llx to print DMA address directly. Change-Id: Ic9527b494ac1aa2d47567a7dab5f0786913f4921 CRs-Fixed: 2355624
This commit is contained in:
parent
84cff826d5
commit
6abb0f08e5
@ -1215,13 +1215,14 @@ qdf_nbuf_t htt_rx_hash_list_lookup(struct htt_pdev_t *pdev,
|
||||
}
|
||||
|
||||
RX_HASH_LOG(qdf_print("rx hash: paddr 0x%llx, netbuf %pK, bucket %d\n",
|
||||
paddr, netbuf, (int)i));
|
||||
(unsigned long long)paddr, netbuf, (int)i));
|
||||
HTT_RX_HASH_COUNT_PRINT(pdev->rx_ring.hash_table[i]);
|
||||
|
||||
qdf_spin_unlock_bh(&pdev->rx_ring.rx_hash_lock);
|
||||
|
||||
if (!netbuf) {
|
||||
qdf_print("rx hash: no entry found for %llx!\n", paddr);
|
||||
qdf_print("rx hash: no entry found for %llx!\n",
|
||||
(unsigned long long)paddr);
|
||||
cds_trigger_recovery(QDF_RX_HASH_NO_ENTRY_FOUND);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user