diff options
author | 2023-10-03 08:05:04 +0000 | |
---|---|---|
committer | 2023-10-05 18:10:49 +0800 | |
commit | e410b4ade83d06a046f6e32b5085997502ba0559 (patch) | |
tree | 5cd7c42dd2ed9d65588eda7aa0f9ee3a11b5b894 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/chrome: cros_ec: fix compilation warning (diff) | |
download | wireguard-linux-e410b4ade83d06a046f6e32b5085997502ba0559.tar.xz wireguard-linux-e410b4ade83d06a046f6e32b5085997502ba0559.zip |
platform/chrome: kunit: initialize lock for fake ec_dev
cros_ec_cmd_xfer() uses ec_dev->lock. Initialize it.
Otherwise, dmesg shows the following:
> DEBUG_LOCKS_WARN_ON(lock->magic != lock)
> ...
> Call Trace:
> ? __mutex_lock
> ? __warn
> ? __mutex_lock
> ...
> ? cros_ec_cmd_xfer
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20231003080504.4011337-1-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions