[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VcLR2w9Ym0YOqUT9G8xT9qWrdD1-wP4UA-1wtuwCNxqSA@mail.gmail.com>
Date: Sun, 14 Jun 2020 12:48:06 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Navid Emamdoost <navid.emamdoost@...il.com>
Cc: Lucas Stach <l.stach@...gutronix.de>,
Russell King <linux+etnaviv@...linux.org.uk>,
Christian Gmeiner <christian.gmeiner@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, etnaviv@...ts.freedesktop.org,
dri-devel <dri-devel@...ts.freedesktop.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Navid Emamdoost <emamd001@....edu>, wu000273@....edu,
Kangjie Lu <kjlu@....edu>, Stephen McCamant <smccaman@....edu>
Subject: Re: [PATCH] drm/etnaviv: fix ref count leak via pm_runtime_get_sync
On Sun, Jun 14, 2020 at 9:48 AM Navid Emamdoost
<navid.emamdoost@...il.com> wrote:
...
> + if (ret < 0) {
> + pm_runtime_put(gpu->dev);
Please, in all your patches fix this to be _put_noidle(). We wouldn't
bear the flag day of fixing these parts again.
Yes, I know that *now* behaviour is the same, but calling put here is
slightly inconsistent.
...
> + pm_runtime_put(gpu->dev);
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists