scsi: qla4xxx: skip error recovery in case of register disconnect.
authorManish Rangankar <manish.rangankar@cavium.com>
Mon, 12 Feb 2018 06:48:41 +0000 (22:48 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:13:07 +0000 (16:13 +0200)
commite3685f99492c323061d1c33ff1cfadc2d7406a9f
treefaf57f11877ae0d60f9f7940ac43359c17d518f9
parent3e0421562e04c341e996baa89370339d0282469b
scsi: qla4xxx: skip error recovery in case of register disconnect.

[ Upstream commit 1bc5ad3a6acdcf56f83272f2de1cd2389ea9e9e2 ]

A system crashes when continuously removing/re-adding the storage
controller.

Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_os.c