Thread (28 messages) 28 messages, 3 authors, 2025-09-13

Re: [PATCH net-next v3 08/13] tools: ynl-gen: only validate nested array payload

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-13 00:27:43
Also in: lkml

On Thu, 11 Sep 2025 20:05:01 +0000 Asbjørn Sloth Tønnesen wrote:
+int ynl_attr_validate_payload(struct ynl_parse_arg *yarg,
+			      const struct nlattr *attr, unsigned int type)
+{
+	return __ynl_attr_validate(yarg, attr, type);
+}
Why not expose __ynl_attr_validate() to the callers?
I don't think the _payload() suffix is crystal clear, we're still
validating attr, _payload() makes it sound like we're validating
what's inside attr?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help