net: cassini: use nested lock annotation
authorEmil Goode <emilgoode@gmail.com>
Thu, 8 May 2014 23:07:17 +0000 (01:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 20:34:10 +0000 (16:34 -0400)
commita9de0500083c18589ba2ea4543135c1bea8419ec
tree8cf6f252926cd6f989409df02f35f9675b7ef78c
parentde682941eef3e5f6d1b653a6c214bc8a288f17c1
net: cassini: use nested lock annotation

In the cas_lock_tx function we acquire multiple locks in a loop and
need to use nested lock annotation to prevent lockdep warnings.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/cassini.c