[PATCH] efi: devicepath: don't spin on hard drive nodes without a signature

Sascha Hauer s.hauer at pengutronix.de
Fri Aug 28 05:15:22 PDT 2026


On Wed, 26 Aug 2026 13:44:14 +0200, Ahmad Fatoum wrote:
> device_path_next_compatible_node() returns the matching node itself and
> doesn't advance past it, so the continue in device_path_to_partuuid()
> re-enters the search with the same device path. A hard drive node whose
> signature type is neither MBR nor GUID, which the UEFI specification
> allows as "No Disk Signature", hangs the search in an endless loop instead
> of moving on to the next node.
> 
> [...]

Applied, thanks!

[1/1] efi: devicepath: don't spin on hard drive nodes without a signature
      https://git.pengutronix.de/cgit/barebox/commit/?id=02d45a2c356d (link may not be stable)

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




More information about the barebox mailing list