diff options
author | David Strahan <David.Strahan@microchip.com> | 2023-08-24 10:58:09 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-08-24 22:54:21 -0400 |
commit | 276395d024cc1bd39edafc97b1e6a48e61dc057a (patch) | |
tree | 506588e58ce660608246c632a7c18d56d8ff49b6 /drivers/scsi/smartpqi | |
parent | dad662c9fe50088d4d42dd7321d7e92a9663c681 (diff) | |
download | linux-stable-276395d024cc1bd39edafc97b1e6a48e61dc057a.tar.gz linux-stable-276395d024cc1bd39edafc97b1e6a48e61dc057a.tar.bz2 linux-stable-276395d024cc1bd39edafc97b1e6a48e61dc057a.zip |
scsi: smartpqi: Enhance shutdown notification
Provide more detailed information about cache flush errors during shutdown.
Reviewed-by: Mahesh Rajashekhara <mahesh.rajashekhara@microchip.com>
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: David Strahan <David.Strahan@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20230824155812.789913-6-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi')
-rw-r--r-- | drivers/scsi/smartpqi/smartpqi_init.c | 2 |
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); |