qcacmn: Address 32 bit specific compilation issues

Fixing 32 bit compliation issues due to improper type
casting and shift operation.

CRs-Fixed: 1043823
Change-Id: I2c05a0c0940c5d65c40aefdc80dc2888fbe87be1
此提交包含在:
Hardik Kantilal Patel
2016-07-13 22:14:14 +05:30
提交者 Vishwajith Upendra
父節點 9d305224a4
當前提交 343739296c
共有 2 個檔案被更改,包括 3 行新增4 行删除

查看文件

@@ -1115,8 +1115,8 @@ void __qdf_dmaaddr_to_32s(qdf_dma_addr_t dmaaddr,
uint32_t *lo, uint32_t *hi)
{
if (sizeof(dmaaddr) > sizeof(uint32_t)) {
*lo = (uint32_t) (dmaaddr & 0x0ffffffff);
*hi = (uint32_t) (dmaaddr >> 32);
*lo = lower_32_bits(dmaaddr);
*hi = upper_32_bits(dmaaddr);
} else {
*lo = dmaaddr;
*hi = 0;