mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH master] bootsource: point bootsource_set() kernel-doc at /chosen
Date: Sun,  8 Nov 2026 21:21:34 +0100	[thread overview]
Message-ID: <20261108202135.1407925-1-a.fatoum@barebox.org> (raw)

Commit cf893b54e65c ("bootsource: use /chosen instead of
/aliases/barebox,bootsource-") moved the barebox,bootsource-*
properties to /chosen, but the bootsource_set() kernel-doc still points
at /aliases. Let's fix that and the name of bootsource_set_raw() next
to it.

Fixes: cf893b54e65c ("bootsource: use /chosen instead of /aliases/barebox,bootsource-")
Assisted-by: Claude:opus-5.5
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 include/bootsource.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/bootsource.h b/include/bootsource.h
index 0d3cb7a33307..d8df6a5ab63b 100644
--- a/include/bootsource.h
+++ b/include/bootsource.h
@@ -43,11 +43,11 @@ int bootsource_of_node_set(struct device_node *np);
  *
  * Returns computed bootsource instace
  *
- * Normal bootsource_set_raw_instance() expects numbering used by
+ * Normal bootsource_set_raw() expects numbering used by
  * bootrom for instance to align with DT aliases, e.g.
  * $bootsource = "mmc" && $bootsource_instance = 1 -> /aliases/mmc1
  * bootsource_set() will instead consult
- * /aliases/barebox,bootsource-mmc1 which may point at a different
+ * /chosen/barebox,bootsource-mmc1 which may point at a different
  * device than mmc1. In absence of appropriate barebox,bootsource-*
  * chosen property, instance is set without translation.
  */
-- 
2.47.3




             reply	other threads:[~2026-11-08 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 20:21 Ahmad Fatoum [this message]
2026-11-09  8:51 ` Sascha Hauer

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=20261108202135.1407925-1-a.fatoum@barebox.org \
    --to=a.fatoum@barebox.org \
    --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