Skip to content

Commit 276395d

Browse files
David Strahanmartinkpetersen
authored andcommitted
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>
1 parent dad662c commit 276395d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/smartpqi/smartpqi_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9161,7 +9161,7 @@ static void pqi_shutdown(struct pci_dev *pci_dev)
91619161
rc = pqi_flush_cache(ctrl_info, shutdown_event);
91629162
if (rc)
91639163
dev_err(&pci_dev->dev,
9164-
"unable to flush controller cache\n");
9164+
"unable to flush controller cache during shutdown\n");
91659165

91669166
pqi_crash_if_pending_command(ctrl_info);
91679167
pqi_reset(ctrl_info);

0 commit comments

Comments
 (0)