Thread (3 messages) 3 messages, 2 authors, 2025-09-30

Re: [PATCH] net: ynl: return actual error code in ynl_exec_dump()

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-26 18:24:08
Also in: lkml

On Fri, 26 Sep 2025 17:58:20 +0800 Haofeng Li wrote:
Return the real error code 'err' instead of hardcoded -1 in the error
path of ynl_exec_dump(). This provides better error information to
callers for debugging and error handling.
Do you have a realistic example that can happen today? This is not
kernel code the error is always -1, and the details are in errno.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help