Re: [PATCH v2 3/3] mailbox: stm32-ipcc: cast void pointers to unsigned long

2020-11-02 Thread Fabien DESSENNE
Hi Martin Thank you for the patch. Fabien On 01/11/2020 4:42 pm, Martin Kaiser wrote: > Now that the driver can be enabled by COMPILE_TEST, we see warnings on > 64bit platforms when void pointers are cast to unsigned int (and > vice versa). > > warning: cast to smaller integer type 'unsigned

[PATCH v2 3/3] mailbox: stm32-ipcc: cast void pointers to unsigned long

2020-11-01 Thread Martin Kaiser
Now that the driver can be enabled by COMPILE_TEST, we see warnings on 64bit platforms when void pointers are cast to unsigned int (and vice versa). warning: cast to smaller integer type 'unsigned int' from 'void *' unsigned int chan = (unsigned int)link->con_priv; ... warning: cast to