[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120709.001308.1467096850382631360.davem@davemloft.net>
Date: Mon, 09 Jul 2012 00:13:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ddaney.cavm@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
david.daney@...ium.com
Subject: Re: [PATCH] netdev/phy: Fixup lockdep warnings in mdio-mux.c
From: David Daney <ddaney.cavm@...il.com>
Date: Wed, 4 Jul 2012 15:06:16 -0700
> From: David Daney <david.daney@...ium.com>
>
> With lockdep enabled we get:
...
> This is a false positive, since we are indeed using 'nested' locking,
> we need to use mutex_lock_nested().
>
> Now in theory we can stack multiple MDIO multiplexers, but that would
> require passing the nesting level (which is difficult to know) to
> mutex_lock_nested(). Instead we assume the simple case of a single
> level of nesting. Since these are only warning messages, it isn't so
> important to solve the general case.
>
> Signed-off-by: David Daney <david.daney@...ium.com>
Applied to 'net', thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists