On Fri, 10 Jul 2026 20:52:15 +0530, Naveen Kumar Chaudhary wrote:

> found_key() is declared to return bool but returns NULL when strdup()
> fails. NULL is a pointer constant; while it happens to convert to
> zero (i.e. false) it is a type mismatch that trips stricter
> compilers/static analysers.
> 
> Return false to match the declared return type.
> 
> [...]

Applied to u-boot/main, thanks!

[1/1] cmd: mbr: return false instead of NULL from bool found_key()
      commit: f7b525a8bc5396b84cf873bdfa5750731de398e9
-- 
Tom


Reply via email to