Skip to content

Commit 88ee2be

Browse files
JordanYatesnashif
authored andcommitted
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 <[email protected]>
1 parent 74972e6 commit 88ee2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net_buf/buf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ struct net_buf *net_buf_alloc_len(struct net_buf_pool *pool, size_t size,
273273

274274
if (!K_TIMEOUT_EQ(timeout, K_NO_WAIT) &&
275275
k_current_get() == k_work_queue_thread_get(&k_sys_work_q)) {
276-
LOG_DBG("Timeout discarded. No blocking in syswq");
276+
LOG_WRN("Timeout discarded. No blocking in syswq");
277277
timeout = K_NO_WAIT;
278278
}
279279

0 commit comments

Comments
 (0)