All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: Alexey Khoroshilov <khoroshilov@ispras.ru>,
	Oliver Neukum <oneukum@suse.com>, Yu Kuai <yukuai3@huawei.com>
Cc: linux-media@vger.kernel.org
Subject: Re: possible clash between 8ea0f2ba0fa3f and 4affafd7bec7c both decrementing refcount
Date: Thu, 28 Apr 2022 13:28:06 +0200	[thread overview]
Message-ID: <b6c8c1ab-b1fb-376a-c74c-a2766d97c1a0@suse.com> (raw)
In-Reply-To: <3db2b997-bba5-425e-e271-33ffec06b16f@ispras.ru>



On 27.04.22 12:29, Alexey Khoroshilov wrote:
> On 27.04.2022 12:34, Oliver Neukum wrote:
>> Hi,
>>
>> I was looking at those two patches and I cannot help myself,
>> it looks to me like they are both fixing the same issue in two
>> different ways.
>> Could you clarify?
> Hi!
>
> As far as I can see
>
> 8ea0f2ba0fa3f
> adds of_node_put(node);
>
> while 4affafd7bec7c
> adds put_device(pm->larbvenclt & pm->larbvenc);
>
> Which clash do you mean?
>
Hi,

thank you. I think I had a brain short circuit. It is clear to me,
why of_put_node() needed to be added in  8ea0f2ba0fa3f.
Yet I just cannot see where the get_device() corresponding
to the put_device added in  4affafd7bec7c is. So I jumped
to conclusions.

    Sorry
        Oliver


      reply	other threads:[~2022-04-28 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27  9:34 possible clash between 8ea0f2ba0fa3f and 4affafd7bec7c both decrementing refcount Oliver Neukum
2022-04-27 10:29 ` Alexey Khoroshilov
2022-04-28 11:28   ` Oliver Neukum [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6c8c1ab-b1fb-376a-c74c-a2766d97c1a0@suse.com \
    --to=oneukum@suse.com \
    --cc=khoroshilov@ispras.ru \
    --cc=linux-media@vger.kernel.org \
    --cc=yukuai3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.