diff options
author | Tristram Ha <Tristram.Ha@microchip.com> | 2018-11-02 19:23:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-02 23:56:34 -0700 |
commit | 284fb78ed7572117846f8e1d1d8e3dbfd16880c2 (patch) | |
tree | f4b7e53eec33c7b85d5cc895ce8750b1ef02e983 /net/rxrpc/call_event.c | |
parent | 2384d02520ff2a916169b2fd85ea50e923ed56c2 (diff) | |
download | blackbird-op-linux-284fb78ed7572117846f8e1d1d8e3dbfd16880c2.tar.gz blackbird-op-linux-284fb78ed7572117846f8e1d1d8e3dbfd16880c2.zip |
net: dsa: microchip: initialize mutex before use
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 <Tristram.Ha@microchip.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/call_event.c')
0 files changed, 0 insertions, 0 deletions