Commit d65efdf4 authored by Tomas Henzl's avatar Tomas Henzl Committed by Martin K. Petersen
Browse files

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: default avatarTomas Henzl <thenzl@redhat.com>
Acked-by: default avatarDon Brace <don.brace@microchip.com>
Link: https://patch.msgid.link/20260414124118.23661-1-thenzl@redhat.com


Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 04631f55
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)