diff options
| author | Wei Yongjun <[email protected]> | 2019-11-18 18:52:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-11-19 18:18:15 +0000 |
| commit | 9a5d847c0bdadb67892b7d176a028578aaed0c3a (patch) | |
| tree | 7aa253b40cc1636e245b717a03ad4512d61393ee /net/unix/af_unix.c | |
| parent | coresight: funnel: Fix missing spin_lock_init() (diff) | |
| download | kernel-9a5d847c0bdadb67892b7d176a028578aaed0c3a.tar.gz kernel-9a5d847c0bdadb67892b7d176a028578aaed0c3a.zip | |
coresight: replicator: Fix missing spin_lock_init()
The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.
This is detected by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun <[email protected]>
Tested-by: Yabin Cui <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
