mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Enrico Jörns" <ejo@pengutronix.de>
To: barebox@lists.infradead.org
Cc: "Enrico Jörns" <ejo@pengutronix.de>
Subject: [PATCH] bootchooser: clarify error message for disabled barebox-state
Date: Wed, 14 Jan 2026 13:48:36 +0100	[thread overview]
Message-ID: <20260114124858.2518566-1-ejo@pengutronix.de> (raw)

Make clear that:
- state was configured as bootchooser backend
- is disabled in kconfig

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
---
 common/bootchooser.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/bootchooser.c b/common/bootchooser.c
index a79eee8ca2..caef15a03f 100644
--- a/common/bootchooser.c
+++ b/common/bootchooser.c
@@ -384,8 +384,9 @@ struct bootchooser *bootchooser_get(void)
 			}
 			free(state_devname);
 		} else {
-			pr_err("State disabled, cannot use nv.bootchooser.state_prefix=%s\n",
+			pr_err("barebox-state backend selected (nv.bootchooser.state_prefix=%s) but CONFIG_STATE is disabled\n",
 			       state_prefix);
+
 			ret = -ENODEV;
 			goto err;
 		}
-- 
2.47.3




                 reply	other threads:[~2026-01-14 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260114124858.2518566-1-ejo@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox