Re: Fix Sparse warnings

From: Vladimir Oltean
Date: Wed Oct 09 2024 - 07:08:59 EST


On Tue, Oct 08, 2024 at 08:43:51AM +0000, Hardevsinh Palaniya wrote:
> >Have you checked the code on real hardware or compared the generated
> >code on the asm level?
>
> it's just resolve casting warnings so....
>
> No, I haven’t tested the code on real hardware.
>
> Are there alternative methods to verify it without using hardware?

"Comparing the generated code on the asm level" means running
"make drivers/spi/spi-imx.lst" before and after the patch, FWIW.
It's about the most you can do in absence of hardware to test on.