Re: [PATCH] alx: fix lockdep annotation

2013-07-11 Thread David Miller
From: Maarten Lankhorst Date: Thu, 11 Jul 2013 15:53:21 +0200 > Move spin_lock_init to be called before the spinlocks are used, preventing a > lockdep splat. > > Signed-off-by: Maarten Lankhorst Looks good, applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-ke

[PATCH] alx: fix lockdep annotation

2013-07-11 Thread Maarten Lankhorst
Move spin_lock_init to be called before the spinlocks are used, preventing a lockdep splat. Signed-off-by: Maarten Lankhorst --- diff --git a/drivers/net/ethernet/atheros/alx/main.c b/drivers/net/ethernet/atheros/alx/main.c index 418de8b..d30085c 100644 --- a/drivers/net/ethernet/atheros/alx/ma