Skip to content
Commit c3266ee1 authored by Fabio Estevam's avatar Fabio Estevam Committed by Vinod Koul
Browse files

dmaengine: imx-dma: Cast of_device_get_match_data() with (uintptr_t)



Change the of_device_get_match_data() cast to (uintptr_t)
to silence the following clang warning:

drivers/dma/imx-dma.c:1048:20: warning: cast to smaller integer type 'enum imx_dma_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 0ab785c8

 ("dmaengine: imx-dma: Remove unused .id_table")
Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20220706111327.940764-1-festevam@gmail.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 820f5ce9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment