From: David Miller <davem@davemloft.net>
To: pgynther@google.com
Cc: netdev@vger.kernel.org, f.fainelli@gmail.com,
thomas.petazzoni@free-electrons.com
Subject: Re: [PATCH v2 net-next] net: phy: adjust fixed_phy_register() return value
Date: Tue, 07 Oct 2014 13:02:33 -0400 (EDT) [thread overview]
Message-ID: <20141007.130233.354860766225253280.davem@davemloft.net> (raw)
In-Reply-To: <CAGXr9JF8fx6YH3szY=nwxTJeJgopBCW9Kzhcs33q4oFG5GNOBQ@mail.gmail.com>
From: Petri Gynther <pgynther@google.com>
Date: Tue, 7 Oct 2014 09:47:37 -0700
> I'm not sure if I understand your comment. The caller of
> fixed_phy_register() now gets the pointer to the phydev created by
> get_phy_device(). What other thread is aware of this pointer and how could
> they free it? Isn't the caller of fixed_phy_register() exclusively in
> charge of the created phydev?
If this is the case then my concerns are unfounded.
Thanks for clearing that up and I'll apply your patch, thanks!
prev parent reply other threads:[~2014-10-07 17:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 18:38 [PATCH v2 net-next] net: phy: adjust fixed_phy_register() return value Petri Gynther
2014-10-07 4:07 ` David Miller
2014-10-07 16:48 ` Petri Gynther
[not found] ` <CAGXr9JF8fx6YH3szY=nwxTJeJgopBCW9Kzhcs33q4oFG5GNOBQ@mail.gmail.com>
2014-10-07 17:02 ` David Miller [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=20141007.130233.354860766225253280.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pgynther@google.com \
--cc=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).