Skip to content

RFC env: Make environment loading log more clear

Wolfgang Denk u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 RFC Latest0 of 2 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [RFC PATCH v3 0/2] env: Make environment loading log more clear

Dear Sam,

Quoted 3 lines · In message <[email protected]> you wrote:

1. With no "Failed" message, at some point we *can* end up with no error messages printed at all

That would mean that we did not check the whole call tree as needed. It is not that complicated, or is it?

Quoted 3 lines

2. Removing some collateral error messages *may* lead to loss of useful debug info in other use-cases (env_load() is not only user of those APIs).

I dislike the "can" and "may" parts here. If this is done thoroughly, we should know exactly that no such damage gets done.

As I mentioend before: if we get here, somewhere an error must have occurred. And in the error handling an error message (one) must be printed.

Best regards,

Wolfgang Denk

Signature · 9 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Software entities are more complex for their size  than  perhaps  any
other human construct because no two parts are alike. If they are, we
make  the  two  similar parts into a subroutine -- open or closed. In
this respect, software  systems  differ  profoundly  from  computers,
buildings, or automobiles, where repeated elements abound.
                                                   - Fred Brooks, Jr.