Re: [PATCH v1 net] net: dsa: microchip: initialize mutex before use

2018-11-01 Thread Pavel Machek
On Thu 2018-11-01 13:17:19, Andrew Lunn wrote: > On Wed, Oct 31, 2018 at 07:49:08PM -0700, tristram...@microchip.com wrote: > > From: Tristram Ha > > > > Initialize mutex before use. Avoid kernel complaint when > > CONFIG_DEBUG_LOCK_ALLOC is enabled. > > > > Fixes: b987e98e50ab90e5 ("dsa: add D

Re: [PATCH v1 net] net: dsa: microchip: initialize mutex before use

2018-11-01 Thread Andrew Lunn
On Wed, Oct 31, 2018 at 07:49:08PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Initialize mutex before use. Avoid kernel complaint when > CONFIG_DEBUG_LOCK_ALLOC is enabled. > > Fixes: b987e98e50ab90e5 ("dsa: add DSA switch driver for Microchip KSZ9477") > Signed-off-by: Tri

[PATCH v1 net] net: dsa: microchip: initialize mutex before use

2018-10-31 Thread Tristram.Ha
From: Tristram Ha Initialize mutex before use. Avoid kernel complaint when CONFIG_DEBUG_LOCK_ALLOC is enabled. Fixes: b987e98e50ab90e5 ("dsa: add DSA switch driver for Microchip KSZ9477") Signed-off-by: Tristram Ha --- v1 - Remove comment drivers/net/dsa/microchip/ksz_common.c | 10 +