]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedi: Use QEDI_MODE_NORMAL for error handling
authorMike Christie <michael.christie@oracle.com>
Thu, 16 Jun 2022 22:27:37 +0000 (17:27 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:14:54 +0000 (21:14 -0400)
commit63ed3b1b5456d7593a1f71a7b7df155dfb23275c
tree53e6c45f1ad354ed6b580bcbe1677f8930285c79
parent15a65d7c507d37716349c45f01307c7980158a51
scsi: qedi: Use QEDI_MODE_NORMAL for error handling

When handling errors that lead to host removal use QEDI_MODE_NORMAL. There
is currently no difference in behavior between NORMAL and SHUTDOWN, but in
a subsequent commit we will want to know when we are called from the
pci_driver shutdown callout vs remove/err_handler so we know when userspace
is up.

Link: https://lore.kernel.org/r/20220616222738.5722-6-michael.christie@oracle.com
Tested-by: Nilesh Javali <njavali@marvell.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi_main.c