qcacld-3.0: Fix format error when printing DMA address
Compiler threw error as -Werror=int-to-pointer-cast when casting
DMA address to void pointer.
Use %llx to print DMA address directly.
Change-Id: Icdcfcdd10400aa2fad64441aa863087cc1c3766e
CRs-Fixed: 2350605
diff --git a/core/dp/htt/htt_rx_ll.c b/core/dp/htt/htt_rx_ll.c
index 4d826df..d87b3e7 100644
--- a/core/dp/htt/htt_rx_ll.c
+++ b/core/dp/htt/htt_rx_ll.c
@@ -1214,15 +1214,14 @@
}
}
- RX_HASH_LOG(qdf_print("rx hash: paddr 0x%x, netbuf %pK, bucket %d\n",
+ RX_HASH_LOG(qdf_print("rx hash: paddr 0x%llx, netbuf %pK, bucket %d\n",
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 %pK!\n",
- (void *)paddr);
+ qdf_print("rx hash: no entry found for %llx!\n", paddr);
cds_trigger_recovery(QDF_RX_HASH_NO_ENTRY_FOUND);
}