diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-11-18 11:52:07 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-19 19:18:15 +0100 |
commit | 9a5d847c0bdadb67892b7d176a028578aaed0c3a (patch) | |
tree | 7aa253b40cc1636e245b717a03ad4512d61393ee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9def5dc10d3e21cf7673731be21224b6cc0eb16a (diff) |
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 <weiyongjun1@huawei.com>
Tested-by: Yabin Cui <yabinc@google.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20191118185207.30441-3-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions