[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VfodVoyDkO4iEGcHw0TWm2g-QbjwXqoCpCr_fj_BXT9jw@mail.gmail.com>
Date: Mon, 26 Jul 2021 14:55:51 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Daniel Scally <djrscally@...il.com>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Yong Zhi <yong.zhi@...el.com>,
Bingbu Cao <bingbu.cao@...el.com>,
Tianshu Qiu <tian.shu.qiu@...el.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH v1 1/1] media: ipu3-cio2: Drop reference on error path in cio2_bridge_connect_sensor()
On Mon, Jul 26, 2021 at 2:47 PM Sakari Ailus
<sakari.ailus@...ux.intel.com> wrote:
> On Mon, Jul 26, 2021 at 11:40:55AM +0300, Andy Shevchenko wrote:
...
> > err_free_swnodes:
> > software_node_unregister_nodes(sensor->swnodes);
> > err_put_adev:
> > - acpi_dev_put(sensor->adev);
> > + acpi_dev_put(adev);
>
> adev is assigned to sensor->adev before goto so the two have the same
> value. I have no problem with the patch though.
Are we reading the same version? Or am I missing something?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists