diff options
author | 2023-07-29 17:15:16 +0200 | |
---|---|---|
committer | 2023-07-31 14:31:26 -0700 | |
commit | 611e1b016c7beceec5ae82ac62d4a7ca224c8f9d (patch) | |
tree | b05ff9818ab9b4bdf2dbe5129840afb352b2c386 /tools/perf/scripts/python/syscall-counts.py | |
parent | bnxt: don't handle XDP in netpoll (diff) | |
download | wireguard-linux-611e1b016c7beceec5ae82ac62d4a7ca224c8f9d.tar.xz wireguard-linux-611e1b016c7beceec5ae82ac62d4a7ca224c8f9d.zip |
octeon_ep: initialize mbox mutexes
The two mbox-related mutexes are destroyed in octep_ctrl_mbox_uninit(),
but the corresponding mutex_init calls were missing.
A "DEBUG_LOCKS_WARN_ON(lock->magic != lock)" warning was emitted with
CONFIG_DEBUG_MUTEXES on.
Initialize the two mutexes in octep_ctrl_mbox_init().
Fixes: 577f0d1b1c5f ("octeon_ep: add separate mailbox command and response queues")
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230729151516.24153-1-mschmidt@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions