mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/8] common: fix outdated barebox_set_hostname comment
@ 2025-08-14 20:27 Ahmad Fatoum
  2025-08-14 20:27 ` [PATCH 2/8] RISC-V: virt: riscvemu: set better hostname/model Ahmad Fatoum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ahmad Fatoum @ 2025-08-14 20:27 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We do not allow underscores either now, so bring the comment in line
with what barebox_valid_ldh_char is enforcing.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 common/misc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/misc.c b/common/misc.c
index af22579af16f..f2c084a0df4b 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -211,8 +211,7 @@ bool barebox_hostname_is_valid(const char *s)
 
 /*
  * The hostname is supposed to be the shortname of a board. It should
- * contain only lowercase letters, numbers, '-', '_'. No whitespaces
- * allowed.
+ * contain only letters, numbers, hyphens. No whitespaces allowed.
  */
 void barebox_set_hostname(const char *__hostname)
 {
-- 
2.39.5




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-08-14 20:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14 20:27 [PATCH 1/8] common: fix outdated barebox_set_hostname comment Ahmad Fatoum
2025-08-14 20:27 ` [PATCH 2/8] RISC-V: virt: riscvemu: set better hostname/model Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 3/8] netconsole: bump down ip/port not set messages to info Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 4/8] RISC-V: cpuinfo: enable structured I/O Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 5/8] commands: bfetch: add RISC-V cpu/firmware info Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 6/8] RISC-V: riscvemu: update configs for web demo Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 7/8] RISC-V: rv64i_defconfig: enable Virt I/O Ahmad Fatoum
2025-08-14 20:28 ` [PATCH 8/8] poller: allow suppressing overtime warnings Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox