Thread (19 messages) 19 messages, 4 authors, 2025-09-16

Re: [PATCH net-next v5 04/11] tools: ynl-gen: refactor local vars for .attr_put() callers

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-16 01:42:13
Also in: lkml

On Mon, 15 Sep 2025 14:42:49 +0000 Asbjørn Sloth Tønnesen wrote:
Refactor the generation of local variables needed when building
requests, by moving the logic from put_req_nested() into a new
helper put_local_vars(), and use the helper before .attr_put() is
called, thus generating the local variables assumed by .attr_put().

Previously only put_req_nested() generated the variables assumed
by .attr_put(),  print_req() only generated the count iterator `i`,
and print_dump() neither generated `i` nor `array`.
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help