Re: [PATCH] restart: fix restart handler by name selection

Sascha Hauer <[email protected]> Thu, 02 Jul 2026 09:58:41 +0200
Newsgroups org.infradead.lists.barebox
Message-ID <[email protected]>
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 <[email protected]>