[PATCH 3/8] netconsole: bump down ip/port not set messages to info

Ahmad Fatoum a.fatoum at barebox.org
Thu Aug 14 13:28:00 PDT 2025


Net consoles may be opened automatically depending on console activation
options and it's annoying for them to yield an error message.

Bump the message down to info instead.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 net/netconsole.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/netconsole.c b/net/netconsole.c
index c93a6cc5c7be..28fd0e98ec41 100644
--- a/net/netconsole.c
+++ b/net/netconsole.c
@@ -97,12 +97,12 @@ static int nc_open(struct console_device *cdev)
 					struct nc_priv, cdev);
 
 	if (!priv->port) {
-		pr_err("port not set\n");
+		pr_info("port not set\n");
 		return -EINVAL;
 	}
 
 	if (!priv->ip) {
-		pr_err("ip not set\n");
+		pr_info("ip not set\n");
 		return -EINVAL;
 	}
 
-- 
2.39.5




More information about the barebox mailing list