On Sat, Jul 13, 2024 at 03:35:32PM -0700, Jakub Kicinski wrote:
> 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

Good point. Thanks for the review.

Reply via email to