damengine: pxp: fixed compilation warnings
drivers/dma/pxp/pxp_dma_v3.c: In function ‘pxp_2d_task_config’: drivers/dma/pxp/pxp_dma_v3.c:1449:6: warning: ‘out_fmt’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (rgb_colors[i].format == format) ^ drivers/dma/pxp/pxp_dma_v3.c:2323:19: note: ‘out_fmt’ was declared here uint32_t in_fmt, out_fmt; ^~~~~~~ drivers/dma/pxp/pxp_dma_v3.c:1449:6: warning: ‘in_fmt’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (rgb_colors[i].format == format) ^ drivers/dma/pxp/pxp_dma_v3.c:2323:11: note: ‘in_fmt’ was declared here uint32_t in_fmt, out_fmt; ^~~~~~ Signed-off-by:Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by:
Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Loading
Please register or sign in to comment