[PATCH] spi: s3c64xx: correct dma_chan pointer initialization
Andi Shyti
andi at etezian.org
Mon Aug 8 01:09:02 PDT 2022
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 at intel.com>
> 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 at samsung.com>
Reviewed-by: Andi Shyti <andi at etezian.org>
Thanks,
Andi
More information about the linux-arm-kernel
mailing list