mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
scsi: smartpqi: Silence a recursive lock warning
On systems with multiple controllers debug kernel shows WARNING: possible recursive locking detected during shutdown. Each controller does have its own ctrl_info (and mutex) and that isn't correctly recognized by debug kernel. Suppress the warning by releasing the mutex at the end of pqi_shutdown(). Signed-off-by: Tomas Henzl <thenzl@redhat.com> Acked-by: Don Brace <don.brace@microchip.com> Link: https://patch.msgid.link/20260414124118.23661-1-thenzl@redhat.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
04631f55af
commit
d65efdf467
|
|
@ -9427,6 +9427,7 @@ static void pqi_shutdown(struct pci_dev *pci_dev)
|
|||
|
||||
pqi_crash_if_pending_command(ctrl_info);
|
||||
pqi_reset(ctrl_info);
|
||||
pqi_ctrl_unblock_device_reset(ctrl_info);
|
||||
}
|
||||
|
||||
static void pqi_process_lockup_action_param(void)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user