Re: [PATCH] netdev/phy: Fixup lockdep warnings in mdio-mux.c

From: David Miller
Date: Mon Jul 09 2012 - 03:13:13 EST


From: David Daney <ddaney.cavm@xxxxxxxxx>
Date: Wed, 4 Jul 2012 15:06:16 -0700

> From: David Daney <david.daney@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Applied to 'net', thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/