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

Martin Blumenstingl martin.blumenstingl at googlemail.com
Tue Nov 1 12:13:08 PDT 2022


On Thu, Oct 27, 2022 at 2:11 PM Neil Armstrong
<neil.armstrong at linaro.org> 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 at linaro.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
and also:
Reported-by: kernel test robot <lkp at intel.com>



More information about the linux-arm-kernel mailing list