Re: [PATCH 1/3] mmc: davinci: Fix -Wpointer-to-int-cast on compile test

2020-09-03 Thread Ulf Hansson
On Wed, 2 Sep 2020 at 22:48, Krzysztof Kozlowski wrote: > > Store in interrupt service routine always '1' in end_command, not the > value of host->cmd to fix compile test warnings on RISC-V: > > drivers/mmc/host/davinci_mmc.c:999:17: warning: > cast from pointer to integer of different size

[PATCH 1/3] mmc: davinci: Fix -Wpointer-to-int-cast on compile test

2020-09-02 Thread Krzysztof Kozlowski
Store in interrupt service routine always '1' in end_command, not the value of host->cmd to fix compile test warnings on RISC-V: drivers/mmc/host/davinci_mmc.c:999:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Krzysztof Kozlowski --- Fo