aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Strahan <[email protected]>2023-08-24 10:58:09 -0500
committerMartin K. Petersen <[email protected]>2023-08-24 22:54:21 -0400
commit276395d024cc1bd39edafc97b1e6a48e61dc057a (patch)
tree506588e58ce660608246c632a7c18d56d8ff49b6
parentdad662c9fe50088d4d42dd7321d7e92a9663c681 (diff)
scsi: smartpqi: Enhance shutdown notification
Provide more detailed information about cache flush errors during shutdown. Reviewed-by: Mahesh Rajashekhara <[email protected]> Reviewed-by: Scott Benesh <[email protected]> Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Mike McGowen <[email protected]> Reviewed-by: Kevin Barnett <[email protected]> Signed-off-by: David Strahan <[email protected]> Signed-off-by: Don Brace <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r--drivers/scsi/smartpqi/smartpqi_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c
index 999bed578138..aacb40cb6b79 100644
--- a/drivers/scsi/smartpqi/smartpqi_init.c
+++ b/drivers/scsi/smartpqi/smartpqi_init.c
@@ -9161,7 +9161,7 @@ static void pqi_shutdown(struct pci_dev *pci_dev)
rc = pqi_flush_cache(ctrl_info, shutdown_event);
if (rc)
dev_err(&pci_dev->dev,
- "unable to flush controller cache\n");
+ "unable to flush controller cache during shutdown\n");
pqi_crash_if_pending_command(ctrl_info);
pqi_reset(ctrl_info);