]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: smartpqi: Silence a recursive lock warning
authorTomas Henzl <thenzl@redhat.com>
Tue, 14 Apr 2026 12:41:18 +0000 (14:41 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 21 Apr 2026 02:26:12 +0000 (22:26 -0400)
commitd65efdf467ff935e35dfe6aa9a7ab93f17ac07ee
treef86518f181eb42bbb39b7533966374a54167619a
parent04631f55afc543d5431a2bdee7f6cc0f2c0debe7
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>
drivers/scsi/smartpqi/smartpqi_init.c