Re: [PATCH net-next] phylink: add ASSERT_RTNL() on phylink connect functions

2019-10-23 Thread Ioana Ciornei
On 10/23/19 4:10 PM, Russell King - ARM Linux admin wrote: > On Wed, Oct 23, 2019 at 03:32:20PM +0300, Ioana Ciornei wrote: >> The appropriate assert on the rtnl lock is not present in phylink's >> connect functions which makes unusual calls to them not to be catched. >> Add the appropriate ASSERT_

Re: [PATCH net-next] phylink: add ASSERT_RTNL() on phylink connect functions

2019-10-23 Thread Russell King - ARM Linux admin
On Wed, Oct 23, 2019 at 03:32:20PM +0300, Ioana Ciornei wrote: > The appropriate assert on the rtnl lock is not present in phylink's > connect functions which makes unusual calls to them not to be catched. > Add the appropriate ASSERT_RTNL(). As I previously replied, this is not necessary. It is

[PATCH net-next] phylink: add ASSERT_RTNL() on phylink connect functions

2019-10-23 Thread Ioana Ciornei
The appropriate assert on the rtnl lock is not present in phylink's connect functions which makes unusual calls to them not to be catched. Add the appropriate ASSERT_RTNL(). Signed-off-by: Ioana Ciornei --- drivers/net/phy/phylink.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers