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]

Kumar, M Chetan
2022-11-21T13:47:42Z

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@cknow.org>
> Sent: Monday, November 21, 2022 7:07 PM
> To: Bonaccorso, Salvatore <carnil@debian.org>
> Cc: davem@davemloft.net; edumazet@google.com;
> johannes@sipsolutions.net; kuba@kernel.org; linux-kernel@vger.kernel.org;
> linuxwwan <linuxwwan@intel.com>; loic.poulain@linaro.org; Kumar, M
> Chetan <m.chetan.kumar@intel.com>; netdev@vger.kernel.org;
> pabeni@redhat.com; ryazanov.s.a@gmail.com
> 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