On Thu, 11 Jul 2024 02:00:22 +0300 Vladimir Oltean wrote:
> +     priv->egress_fqs = devm_kcalloc(dev, dpaa_max_num_txqs(),
> +                                     sizeof(*priv->egress_fqs),
> +                                     GFP_KERNEL);
> +     if (!priv->egress_fqs)
> +             goto free_netdev;
> +
> +     priv->conf_fqs = devm_kcalloc(dev, dpaa_max_num_txqs(),
> +                                   sizeof(*priv->conf_fqs),
> +                                   GFP_KERNEL);
> +     if (!priv->conf_fqs)
> +             goto free_netdev;

Gotta set err before jumping
-- 
pw-bot: cr

Reply via email to