Subject: Re: [PATCH net-next v7 5/9] devlink: Allow to set up parent in devl_rate_leaf_create()

From: Jakub Kicinski <[email-masked]>
Date: Thu, 27 Oct 2022 20:28:27 -0700

On Thu, 27 Oct 2022 15:00:45 +0200 Michal Wilczynski wrote:
> @@ -10327,10 +10327,11 @@ EXPORT_SYMBOL_GPL(devl_rate_node_create);
>   *
>   * Create devlink rate object of type leaf on provided @devlink_port.
>   */
> -int devl_rate_leaf_create(struct devlink_port *devlink_port, void *priv)
> +int devl_rate_leaf_create(struct devlink_port *devlink_port, void *priv, char *parent_name)
>  {
>  	struct devlink *devlink = devlink_port->devlink;
>  	struct devlink_rate *devlink_rate;
> +	struct devlink_rate *parent;
>  

net/core/devlink.c:10332: warning: Function parameter or member 'parent_name' not described in 'devl_rate_leaf_create'