[PATCH] Environment: Change reporting "nowhere" as "magic hat" to user

Tom Rini trini at konsulko.com
Fri Nov 29 15:36:14 CET 2024


On Fri, Nov 29, 2024 at 08:23:57AM -0300, Fabio Estevam wrote:
> On Fri, Nov 29, 2024 at 7:35 AM Andrew Goodbody
> <andrew.goodbody at linaro.org> wrote:
> >
> > On 28/11/2024 15:12, Alicja Michalska wrote:
> > > Make string more user-friendly
> >
> > I disagree. I can make a guess as to what 'Loading Environment from
> > nowhere' means. To me it suggests that it has not found anywhere
> > additional to load an environment from. It is a bit awkwardly phrased
> > but it can be understood and it at least sticks to reality.
> > As for 'Loading Environment from a magic hat' - I have no idea what that
> > is trying to convey and that lack of meaning is not, IMO, user-friendly.
> 
> I have the same opinion as Andrew.
> 
> It is easy to associate "Loading Environment from nowhere... OK" with
> CONFIG_ENV_IS_NOWHERE=y.
> 
> Changing it to 'Loading Environment from a magic hat' will not make
> things better or clearer, IMHO.

Yes. As I mentioned on IRC, there's one match for \"nowhere in the
sources and it's in env/nowhere.c so it's easy to see where that line
comes from.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241129/8bbbfb12/attachment.sig>


More information about the U-Boot mailing list