Skip to content
Commit 7d68b733 authored by M Chetan Kumar's avatar M Chetan Kumar Committed by Greg Kroah-Hartman
Browse files

net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type

[ Upstream commit 4a99e3c8 ]

Fix build error reported on armhf while preparing 6.1-rc5
for Debian.

iosm_ipc_protocol.c:244:36: error: passing argument 3 of
'dma_alloc_coherent' from incompatible pointer type.

Change phy_ap_shm type from phys_addr_t to dma_addr_t.

Fixes: faed4c6f

 ("net: iosm: shared memory protocol")
Reported-by: default avatarBonaccorso Salvatore <carnil@debian.org>
Signed-off-by: default avatarM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c439cfad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment