]> git.baikalelectronics.ru Git - kernel.git/commit
net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Thu, 24 Nov 2022 10:38:03 +0000 (16:08 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2022 11:31:59 +0000 (11:31 +0000)
commitf5522344b4a2274d1834d4599c2e17831355961e
treefc419b5170f927e0fdceabd91639dde831935024
parent6101cf3bb7a662c199846e8d934d1a2bbb71b6c1
net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type

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: 2d9d190f5333 ("net: iosm: shared memory protocol")
Reported-by: Bonaccorso Salvatore <carnil@debian.org>
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_protocol.h