On Mon, 2025-05-19 at 16:42 +0800, Wentao Liang wrote:
The wilc_sdio_read_size() calls wilc_sdio_cmd52() but does not check the return value. This could lead to execution with potentially invalid data if wilc_sdio_cmd52() fails. A proper implementation can be found in wilc_sdio_read_reg().
Add error handling for wilc_sdio_cmd52(). If wilc_sdio_cmd52() fails, log an error message via dev_err().
That's clearly hno longer true, please submit consistent patches.
Also, this change (at best!) addresses half the problem, please fix it fully if you want to bother us with it at all.
johannes