[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAG-FcCMK73jqjQMhktk8_pVmSPmN6R0BgGLVTLOujspWBe6ENg@mail.gmail.com>
Date: Wed, 28 May 2025 09:56:41 -0700
From: Ziwei Xiao <ziweixiao@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Harshitha Ramamurthy <hramamurthy@...gle.com>, netdev@...r.kernel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, jeroendb@...gle.com,
andrew+netdev@...n.ch, willemb@...gle.com, pkaligineedi@...gle.com,
yyd@...gle.com, joshwash@...gle.com, shailend@...gle.com, linux@...blig.org,
thostet@...gle.com, jfraker@...gle.com, richardcochran@...il.com,
jdamato@...tly.com, vadim.fedorenko@...ux.dev, horms@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v3 5/8] gve: Add support to query the nic clock
On Tue, May 27, 2025 at 7:12 PM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Thu, 22 May 2025 23:57:34 +0000 Harshitha Ramamurthy wrote:
> > + err = gve_ptp_init(priv);
> > + if (err)
> > + return err;
> > +
> > + priv->nic_ts_report =
> > + dma_alloc_coherent(&priv->pdev->dev,
> > + sizeof(struct gve_nic_ts_report),
> > + &priv->nic_ts_report_bus,
> > + GFP_KERNEL);
> > + if (!priv->nic_ts_report) {
> > + dev_err(&priv->pdev->dev, "%s dma alloc error\n", __func__);
>
> missing a call to gve_ptp_release() on this error path?
>
Thank you for pointing this out. Will fix it in the v4 series.
> > + return -ENOMEM;
> > + }
> --
> pw-bot: cr
Powered by blists - more mailing lists