[PATCH RESEND 1/2] mci: core: remove dev_add_param_bool error paths

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 17 23:20:56 PDT 2024


On Mon, 17 Jun 2024 13:41:41 +0200, Ahmad Fatoum wrote:
> dev_add_param_bool fails when the device already has a parameter with
> the same name or if there's no memory. The first error can't happen here
> and the second won't go unnoticed anyway as something critical is bound
> to panic.
> 
> Remove thus the error paths, which are never triggered.
> 
> [...]

Applied, thanks!

[1/2] mci: core: remove dev_add_param_bool error paths
      https://git.pengutronix.de/cgit/barebox/commit/?id=9783270f84c4 (link may not be stable)
[2/2] mci: core: don't add broken_cd parameter for eMMCs
      https://git.pengutronix.de/cgit/barebox/commit/?id=ac46530a035c (link may not be stable)

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




More information about the barebox mailing list