Re: [PATCH] spi: s3c64xx: correct dma_chan pointer initialization

From: Andi Shyti
Date: Mon Aug 08 2022 - 05:25:53 EST


Hi Chanho,

On Mon, Aug 08, 2022 at 09:48:51AM +0900, Chanho Park wrote:
> Use NULL for dma channel pointer initialization instead of plain integer.
>
> sparse warnings: (new ones prefixed by >>)
> >> drivers/spi/spi-s3c64xx.c:387:34: sparse: sparse: Using plain integer as NULL pointer
> drivers/spi/spi-s3c64xx.c:388:34: sparse: sparse: Using plain integer as NULL pointer
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Fixes: 82295bc0d192 ("spi: s3c64xx: move dma_release_channel to unprepare")
> Fixes: f52b03c70744 ("spi: s3c64xx: requests spi-dma channel only during data transfer")
> Signed-off-by: Chanho Park <chanho61.park@xxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi@xxxxxxxxxxx>

Thanks,
Andi