From: Mike Christie Date: Thu, 19 Dec 2013 07:16:21 +0000 (-0600) Subject: [SCSI] be2iscsi: fix bad if expression X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=126e964a444f125bd428757fb88c24c730f6fcf9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [SCSI] be2iscsi: fix bad if expression https://bugzilla.kernel.org/show_bug.cgi?id=67091 Cc: Jayamohan Kallickal Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 1f375051483a..5642a9b250c2 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -325,7 +325,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc) if (!abrt_task->sc || abrt_task->state == ISCSI_TASK_FREE) continue; - if (abrt_task->sc->device->lun != abrt_task->sc->device->lun) + if (sc->device->lun != abrt_task->sc->device->lun) continue; /* Invalidate WRB Posted for this Task */