[PATCH] mci: sunxi-mmc: do not log error message on EINVAL error

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 17 01:37:05 PDT 2025


On Fri, 14 Mar 2025 23:44:39 +0100, Jules Maselbas wrote:
> In the function sdxc_send_cmd: logging the error could use the
> uninitialized variable `why`, this can be the case when the
> sunxi_mmc_send_cmd function returns very early with the -EINVAL
> error code. This doesnt needs to be logged.
> Also add a default value for the variable.
> 
> 
> [...]

Applied, thanks!

[1/1] mci: sunxi-mmc: do not log error message on EINVAL error
      https://git.pengutronix.de/cgit/barebox/commit/?id=6a98ccdcf5ca (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list