Thread (6 messages) 6 messages, 2 authors, 2024-03-27

Re: [PATCH net-next 3/4] net: team: use policy generated by YAML spec

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-03-27 03:40:42

On Tue, 26 Mar 2024 11:30:03 +0800 Hangbin Liu wrote:
quoted hunk ↗ jump to hunk
 
-static int team_nl_cmd_port_list_get(struct sk_buff *skb,
+int team_nl_port_list_get_doit(struct sk_buff *skb,
 				     struct genl_info *info)
nit: please adjust the indent of the continuation line
+/* Global operation policy for team */
+const struct nla_policy team_nl_policy[TEAM_ATTR_LIST_OPTION + 1] = {
You need to adjust max_attr in the family to be
ARRAY_SIZE(team_nl_policy), it's no longer TEAM_ATTR_MAX.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help