From 88ee2bee393666ce661b47dae3b65bebdfda32d4 Mon Sep 17 00:00:00 2001 From: Jordan Yates Date: Fri, 4 Oct 2024 17:01:30 +1000 Subject: [PATCH] net: buf: increase log level of timeout ignore Notifying users that the supplied timeout is being ignored is worthy of a higher log level than debug. Any such usage should be changed at the application level. Signed-off-by: Jordan Yates --- lib/net_buf/buf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net_buf/buf.c b/lib/net_buf/buf.c index a2f504ac06b..6d409430f08 100644 --- a/lib/net_buf/buf.c +++ b/lib/net_buf/buf.c @@ -273,7 +273,7 @@ struct net_buf *net_buf_alloc_len(struct net_buf_pool *pool, size_t size, if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) && k_current_get() == k_work_queue_thread_get(&k_sys_work_q)) { - LOG_DBG("Timeout discarded. No blocking in syswq"); + LOG_WRN("Timeout discarded. No blocking in syswq"); timeout = K_NO_WAIT; }