Re: [PATCH] spi: meson-spicc: fix do_div build error on non-arm64

From: Martin Blumenstingl
Date: Tue Nov 01 2022 - 15:13:31 EST


On Thu, Oct 27, 2022 at 2:11 PM Neil Armstrong
<neil.armstrong@xxxxxxxxxx> wrote:
>
> This fixes :
> error: passing argument 1 of '__div64_32' from incompatible pointer type
>
> By passing an uint64_t as first variable to do_div().
>
> Fixes: 04694e50020b ("spi: meson-spicc: move wait completion in driver to take bursts delay in account")
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Acked-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
and also:
Reported-by: kernel test robot <lkp@xxxxxxxxx>