On Fri, 10 Oct 2025 07:49:33 +0200, Ahmad Fatoum wrote:
> When given a key name hint, we first attempt verification using the key
> it describes and fall through to verifying with all other keys.
> 
> The code implementing this is not necessarily intuitive and strcmp()
> makes it harder to understand.
> 
> As we check for NULL pointer anyway, let's use streq_ptr, which returns
> true instead of 0 on equality.
> 
> [...]

Applied, thanks!

[1/1] FIT: compare key name hint with streq_ptr for clarity
      https://git.pengutronix.de/cgit/barebox/commit/?id=3138d4988d33 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to