mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 23:29:16 +00:00
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| octep_cn9k_pf.c | ||
| octep_config.h | ||
| octep_ctrl_mbox.c | ||
| octep_ctrl_mbox.h | ||
| octep_ctrl_net.c | ||
| octep_ctrl_net.h | ||
| octep_ethtool.c | ||
| octep_main.c | ||
| octep_main.h | ||
| octep_regs_cn9k_pf.h | ||
| octep_rx.c | ||
| octep_rx.h | ||
| octep_tx.c | ||
| octep_tx.h | ||