[PATCH] restart: fix restart handler by name selection

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 2 00:58:41 PDT 2026


On Mon, 22 Jun 2026 19:21:19 +0200, Marco Felsch wrote:
> Commit d20a9a455d8d ("restart: allow selecting restart handler by device
> name") introduce a bug, while adding the support to select a restart
> handler by device name.
> 
> The list_for_each_entry() loop should sort out all restart handler which
> don't match the user requested restart handler. Instead all restart
> handlers which don't have a device associated are honored as well
> because the if condition is always 0 in this case.
> 
> [...]

Applied, thanks!

[1/1] restart: fix restart handler by name selection
      https://git.pengutronix.de/cgit/barebox/commit/?id=8bd9cab774e9 (link may not be stable)

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




More information about the barebox mailing list