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