mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
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>
This commit is contained in:
parent
dad662c9fe
commit
276395d024
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user