RE: drivers/net/wwan/iosm/iosm_ipc_protocol.c:244:36: error: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Werror=incompatible-pointer-types]

From: Kumar, M Chetan
Date: Mon Nov 21 2022 - 08:47:42 EST


Hi Diederik/Salvatore,

I tried reproducing it at my side by compiling kernel for armhf configuration [1] but could not reproduce it.
Could you please share the steps and config details for reproducing it locally so that I can take a look at it.

[1]
https://www.raspberrypi.com/documentation/computers/linux_kernel.html

Regards,
Chetan

> -----Original Message-----
> From: Diederik de Haas <didi.debian@xxxxxxxxx>
> Sent: Monday, November 21, 2022 7:07 PM
> To: Bonaccorso, Salvatore <carnil@xxxxxxxxxx>
> Cc: davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx;
> johannes@xxxxxxxxxxxxxxxx; kuba@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> linuxwwan <linuxwwan@xxxxxxxxx>; loic.poulain@xxxxxxxxxx; Kumar, M
> Chetan <m.chetan.kumar@xxxxxxxxx>; netdev@xxxxxxxxxxxxxxx;
> pabeni@xxxxxxxxxx; ryazanov.s.a@xxxxxxxxx
> Subject: Re: drivers/net/wwan/iosm/iosm_ipc_protocol.c:244:36: error:
> passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type
> [-Werror=incompatible-pointer-types]
>
> The same error occurred with 6.1-rc6, again on armhf.
>
> Cheers,
> Diederik